Scrapy安装/版本错误

时间:2014-05-30 16:31:54

标签: python scrapy

刚刚安装了Scrapy,并在Python 2.7.6(32位)Windows 7(64位)上安装了用于Scrapy的Portia UI,并连接到IPv4 DNS Internet服务。

完成版本检查后出现以下输出错误。

C\> scrapy version 
:0: UserWarning: You do not have a working installation of the service_identity
module: 'No module named service_identity'.  Please install it from <https://pyp
i.python.org/pypi/service_identity> and make sure all of its dependencies are sa
tisfied.  Without the service_identity module and a recent enough pyOpenSSL to s
upport it, Twisted can perform only rudimentary TLS client hostname verification
.  Many valid certificate/hostname mappings may be rejected.
Scrapy 0.22.2 

可以创建项目,但Scrapy似乎也对Spiders没有响应。

Scrapy安装符合Scrapy站点http://doc.scrapy.org/en/latest/intro/install.html中所述的所有Win32版本以及pip install或easy_install所需的任何位置。

我该如何解决问题?

1 个答案:

答案 0 :(得分:3)

这应该有所帮助:

pip install service_identity