错误是: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.
我已经尝试了所有其他可能的答案从几个网站,但没有一个解决我的问题。有什么见解吗?
我试过了
pip install cryptography
pip install cffi --upgrade
pip install service_identity --upgrade
pip install pyopenssl --upgrade
1条答案
按热度按时间lmyy7pcs1#
想明白了,我需要:
pip install service-identity
(首选,更新版本)或conda install -c conda-forge service_identity
(2019年已过时的版本)