openssl更新了,还提示You are linking against OpenSSL 0.9.8
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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
硬搞,就去百度搜索, 软连接成新的。
但是最重要的是当你编译安装其他软件的时候会用到openssl的源码,所以还会报错说版本过旧。
./configure --with-openssl-dir=/usr/你的openssl安装路径 大致是这个意思