gpt4 book ai didi

python没有名为service_identity的模块

转载 作者:IT老高 更新时间:2023-10-28 22:02:23 26 4
gpt4 key购买 nike

我尝试更新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

请问这是什么问题以及如何解决?

我使用的是 Windows 7

最佳答案

pip install service_identity

提示您没有service_identity。有关该模块的更多信息,请访问 here on PyPI

关于python没有名为service_identity的模块,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24089484/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com