module' object has no attribute 'OP_NO_TLSv1_1

2017-1-9 孤独求学人 Python

scrapy startproject pachong
Traceback (most recent call last):
  File "/bin/scrapy", line 9, in <module>
    load_entry_point('Scrapy==1.5.0', 'console_scripts', 'scrapy')()
  File "build/bdist.linux-x86_64/egg/pkg_resources.py", line 339, in load_entry_point
    return False    # egg isn't macosx or legacy darwin
  File "build/bdist.linux-x86_64/egg/pkg_resources.py", line 2470, in load_entry_point
    return self.__dep_map
  File "build/bdist.linux-x86_64/egg/pkg_resources.py", line 2184, in load
    part = replace(part,part)
  File "/usr/lib/python2.7/site-packages/scrapy/cmdline.py", line 9, in <module>
    from scrapy.crawler import CrawlerProcess
  File "/usr/lib/python2.7/site-packages/scrapy/crawler.py", line 7, in <module>
    from twisted.internet import reactor, defer
  File "/usr/lib64/python2.7/site-packages/twisted/internet/reactor.py", line 38, in <module>
    from twisted.internet import default
  File "/usr/lib64/python2.7/site-packages/twisted/internet/default.py", line 56, in <module>
    install = _getInstallFunction(platform)
  File "/usr/lib64/python2.7/site-packages/twisted/internet/default.py", line 44, in _getInstallFunction
    from twisted.internet.epollreactor import install
  File "/usr/lib64/python2.7/site-packages/twisted/internet/epollreactor.py", line 24, in <module>

阅读全文>>

标签: python pip scrapy twisted

评论(0) 浏览(11019)

Powered by emlog 豫ICP备15004178号-1