消息关闭
    暂无新消息!

Scrapy运行问题

问题作者 : 武藤溯2017-06-16发布
安装完Scrapy后能运行报错,报错内容如下:
Traceback (most recent call last):
  File "/data/meng.li7/python2.7/bin/scrapy", line 11, in <module>
    sys.exit(execute())
  File "/data/meng.li7/python2.7/lib/python2.7/site-packages/scrapy/cmdline.py", line 128, in execute
    cmds = _get_commands_dict(settings, inproject)
  File "/data/meng.li7/python2.7/lib/python2.7/site-packages/scrapy/cmdline.py", line 46, in _get_commands_dict
    cmds = _get_commands_from_module('scrapy.commands', inproject)
  File "/data/meng.li7/python2.7/lib/python2.7/site-packages/scrapy/cmdline.py", line 29, in _get_commands_from_module
    for cmd in _iter_command_classes(module):
  File "/data/meng.li7/python2.7/lib/python2.7/site-packages/scrapy/cmdline.py", line 19, in _iter_command_classes
    for module in walk_modules(module_name):
  File "/data/meng.li7/python2.7/lib/python2.7/site-packages/scrapy/utils/misc.py", line 71, in walk_modules
    submod = import_module(fullpath)
  File "/data/meng.li7/python2.7/lib/python2.7/importlib/__init__.py", line 37, in import_module
    __import__(name)
  File "/data/meng.li7/python2.7/lib/python2.7/site-packages/scrapy/commands/version.py", line 6, in <module>
    import OpenSSL
  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 "/data/meng.li7/python2.7/lib/python2.7/site-packages/cryptography-1.9-py2.7-linux-x86_64.egg/cryptography/hazmat/bindings/openssl/binding.py", line 13, in <module>
    from cryptography.hazmat.bindings._openssl import ffi, lib
ImportError: /data/meng.li7/python2.7/lib/python2.7/site-packages/cryptography-1.9-py2.7-linux-x86_64.egg/cryptography/hazmat/bindings/_openssl.so: undefined symbol: d2i_DHxparams


哪位大神指导一下我把,万分感谢!!!!!

0个回答

暂无回答!