python 没有名为 service_identity 的模块
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/24089484/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-19 03:57:42 来源:igfitidea点击:
python No module named service_identity
提问by Marco Dinatsoli
I tried to update scrapy and when I tried to check the version I got the following error
我尝试更新scrapy,当我尝试检查版本时出现以下错误
C:\Windows\system32>scrapy version -v
: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
lxml : 3.2.3.0
libxml2 : 2.9.0
Twisted : 14.0.0
Python : 2.7 (r27:82525, Jul 4 2010, 09:01:59) [MSC v.1500 32 bit (Intel)]
Platform: Windows-7-6.1.7601-SP1
what is that please and how to solve it ?
请问这是什么以及如何解决?
I am using windows 7
我正在使用 Windows 7
采纳答案by Padraic Cunningham
pip install service_identity
It is complaining that you do not have service_identity
. More information on the module can be found here on PyPI
抱怨你没有service_identity
。可以在 PyPI上找到有关该模块的更多信息