openssl更新了,还提示You are linking against OpenSSL 0.9.8

发布于 2022-09-04 05:13:38 字数 3656 浏览 9 评论 0

图片描述

Traceback (most recent call last):
  File "/usr/local/bin/scrapy", line 5, in <module>
    pkg_resources.run_script('Scrapy==0.24.0', 'scrapy')
  File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line 743, in run_script

  File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line 1498, in run_script

  File "/usr/local/python2.7/lib/python2.7/site-packages/Scrapy-0.24.0-py2.7.egg/EGG-INFO/scripts/scrapy", line 3, in <module>
    from scrapy.cmdline import execute
  File "/usr/local/python2.7/lib/python2.7/site-packages/Scrapy-0.24.0-py2.7.egg/scrapy/cmdline.py", line 9, in <module>
    from scrapy.crawler import CrawlerProcess
  File "/usr/local/python2.7/lib/python2.7/site-packages/Scrapy-0.24.0-py2.7.egg/scrapy/crawler.py", line 3, in <module>
    from twisted.internet import reactor, defer
  File "/usr/local/python2.7/lib/python2.7/site-packages/Twisted-16.6.0-py2.7-linux-x86_64.egg/twisted/internet/reactor.py", line 38, in <module>
    from twisted.internet import default
  File "/usr/local/python2.7/lib/python2.7/site-packages/Twisted-16.6.0-py2.7-linux-x86_64.egg/twisted/internet/default.py", line 56, in <module>
    install = _getInstallFunction(platform)
  File "/usr/local/python2.7/lib/python2.7/site-packages/Twisted-16.6.0-py2.7-linux-x86_64.egg/twisted/internet/default.py", line 44, in _getInstallFunction
    from twisted.internet.epollreactor import install
  File "/usr/local/python2.7/lib/python2.7/site-packages/Twisted-16.6.0-py2.7-linux-x86_64.egg/twisted/internet/epollreactor.py", line 24, in <module>
    from twisted.internet import posixbase
  File "/usr/local/python2.7/lib/python2.7/site-packages/Twisted-16.6.0-py2.7-linux-x86_64.egg/twisted/internet/posixbase.py", line 18, in <module>
    from twisted.internet import error, udp, tcp
  File "/usr/local/python2.7/lib/python2.7/site-packages/Twisted-16.6.0-py2.7-linux-x86_64.egg/twisted/internet/tcp.py", line 28, in <module>
    from twisted.internet._newtls import (
  File "/usr/local/python2.7/lib/python2.7/site-packages/Twisted-16.6.0-py2.7-linux-x86_64.egg/twisted/internet/_newtls.py", line 21, in <module>
    from twisted.protocols.tls import TLSMemoryBIOFactory, TLSMemoryBIOProtocol
  File "/usr/local/python2.7/lib/python2.7/site-packages/Twisted-16.6.0-py2.7-linux-x86_64.egg/twisted/protocols/tls.py", line 41, in <module>
    from OpenSSL.SSL import Error, ZeroReturnError, WantReadError
  File "build/bdist.linux-x86_64/egg/OpenSSL/__init__.py", line 8, in <module>
    #
  File "build/bdist.linux-x86_64/egg/OpenSSL/rand.py", line 12, in <module>
  File "build/bdist.linux-x86_64/egg/OpenSSL/_util.py", line 6, in <module>
  File "/usr/local/python2.7/lib/python2.7/site-packages/cryptography-1.4-py2.7-linux-x86_64.egg/cryptography/hazmat/bindings/openssl/binding.py", line 250, in <module>
    _verify_openssl_version(Binding.lib.SSLeay())
  File "/usr/local/python2.7/lib/python2.7/site-packages/cryptography-1.4-py2.7-linux-x86_64.egg/cryptography/hazmat/bindings/openssl/binding.py", line 230, in _verify_openssl_version
    "You are linking against OpenSSL 0.9.8, which is no longer "
RuntimeError: You are linking against OpenSSL 0.9.8, which is no longer support by the OpenSSL project. You need to upgrade to a newer version of OpenSSL.

图片描述

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

木有鱼丸 2022-09-11 05:13:38

硬搞,就去百度搜索, 软连接成新的。

但是最重要的是当你编译安装其他软件的时候会用到openssl的源码,所以还会报错说版本过旧。
./configure --with-openssl-dir=/usr/你的openssl安装路径 大致是这个意思

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文