【问题标题】:Scrapy Install / Version ErrorScrapy 安装/版本错误
【发布时间】:2014-07-20 11:50:21
【问题描述】:

刚刚安装了 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 似乎对 Spider 也没有响应。

所有 Win32 版本的 Scrapy 安装都按照 Scrapy 站点 http://doc.scrapy.org/en/latest/intro/install.html 上描述的顺序以及任何需要 pip install 或 easy_install 的地方进行。

我该如何解决这个问题?

【问题讨论】:

  • 你安装了 pyOpenSSL 吗?
  • 感谢 Nicholas,是的,所有安装都已完成并且正在运行。答案对我有用。

标签: python scrapy


【解决方案1】:

这应该会有所帮助:

pip install service_identity

【讨论】:

  • 嗨 Jimbo 非常感谢它成功了。我不知道我必须打勾。
猜你喜欢
  • 2012-06-10
  • 2014-02-14
  • 1970-01-01
  • 1970-01-01
  • 2016-10-01
  • 2014-08-21
  • 2015-11-27
  • 1970-01-01
相关资源
最近更新 更多