简体   繁体   English

无法找出 service_identity 模块错误的原因

[英]Can't figure out cause of service_identity module error

Error is:错误是:

UserWarning: You do not have a working installation of the service_identity module: 'cannot import name 'verify_ip_address' from 'service_identity.pyopenssl' (C:\\Users\\techn\\Anaconda3\\lib\\site-packages\\service_identity\\pyopenssl.py)'. Please install it from <https://pypi.python.org/pypi/service_identity> and make sure all of its dependencies are satisfied. Without the service_identity module, Twisted can perform only rudimentary TLS client hostname verification. Many valid certificate/hostname mappings may be rejected.

I've tried all other possible answers from several sites but none of them fix my problem.我已经尝试了来自多个站点的所有其他可能的答案,但没有一个能解决我的问题。 Any insight?任何见解?

I've tried:我试过了:

pip install cryptography
pip install cffi --upgrade
pip install service_identity --upgrade
pip install pyopenssl --upgrade

想通了,我需要做conda install service_identity

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM