使用Scrapy创建新项目时出错

1 投票
1 回答
993 浏览
提问于 2025-04-18 08:26

我在Fedora 20上安装了Scrapy,当我尝试创建一个新项目时,出现了以下错误:

/usr/lib/python2.7/site-packages/Twisted-14.0.0-py2.7-linux-x86_64.egg/twisted/internet/_sslverify.py:184: UserWarning: You do not have the service_identity module installed. Please install it from <https://pypi.python.org/pypi/service_identity>. Without the service_identity module and a recent enough pyOpenSSL tosupport it, Twisted can perform only rudimentary TLS client hostnameverification.  Many valid certificate/hostname mappings may be rejected.

我试着找一下名为service_identity的模块,但没有找到!有没有人能帮我解决这个问题。

提前谢谢大家!

1 个回答

3

试试在命令行输入 pip install service_identity 来解决这个问题。

撰写回答