在10.12

时间:2017-05-27 03:00:24

标签: python scrapy spyder

遵循指示,但仍有这些问题。

  

RjkdeMacBook-Pro:~kk-macbookair $ scrapy       Traceback(最近一次调用最后一次):         文件" / usr / local / bin / scrapy",第9行,in           load_entry_point(' Scrapy == 1.4.0',' console_scripts',' scrapy')()         在load_entry_point中的文件" /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources/ init .py",第565行           return get_distribution(dist).load_entry_point(group,name)         文件" /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources/ init .py",第2697行,在load_entry_point中           return ep.load()         文件" /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources/ init .py",第2370行,在加载中           return self.resolve()         文件" /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources/ init .py",第2376行,已解决           module = import (self.module_name,fromlist = [' name '],level = 0)         File" /Library/Python/2.7/site-packages/scrapy/cmdline.py" ;,第9行,在           来自scrapy.crawler import CrawlerProcess         File" /Library/Python/2.7/site-packages/scrapy/crawler.py" ;,第7行,in           来自twisted.internet进口反应堆,推迟         File" /Library/Python/2.7/site-packages/twisted/internet/reactor.py" ;,第38行,in           来自twisted.internet导入默认值         File" /Library/Python/2.7/site-packages/twisted/internet/default.py" ;,第56行,in           install = _getInstallFunction(platform)         文件" /Library/Python/2.7/site-packages/twisted/internet/default.py",第50行,在_getInstallFunction中           来自twisted.internet.selectreactor import install         File" /Library/Python/2.7/site-packages/twisted/internet/selectreactor.py" ;,第18行,in           来自twisted.internet import posixbase         File" /Library/Python/2.7/site-packages/twisted/internet/posixbase.py" ;,第18行,in           来自twisted.internet导入错误,udp,tcp         File" /Library/Python/2.7/site-packages/twisted/internet/tcp.py" ;,第28行,在           来自twisted.internet._newtls import(         File" /Library/Python/2.7/site-packages/twisted/internet/_newtls.py" ;,第21行,in           来自twisted.protocols.tls导入TLSMemoryBIOFactory,TLSMemoryBIOProtocol         File" /Library/Python/2.7/site-packages/twisted/protocols/tls.py" ;,第63行,in           来自twisted.internet._sslverify import _setAcceptableProtocols         File" /Library/Python/2.7/site-packages/twisted/internet/_sslverify.py" ;,第38行,in           TLSVersion.TLSv1_1:SSL.OP_NO_TLSv1_1,       AttributeError:'模块'对象没有属性' OP_NO_TLSv1_1'       RjkdeMacBook-Pro:~kk-macbookair $

0 个答案:

没有答案