[英]"pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available." Despite running as trusted host
I know there's several other people asking the same thing but neither works for me.我知道还有其他几个人在问同样的问题,但都不适合我。 I'm on MacOS and I'm getting "pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available."我在 MacOS 上,我得到“pip 配置了需要 TLS/SSL 的位置,但是 Python 中的 ssl 模块不可用。” The solution everywhere is to run it as a trusted package:无处不在的解决方案是将其作为受信任的 package 运行:
pip install --trusted-host pypi.org \
--trusted-host files.pythonhosted.org \
requests
I am getting the same error though.我得到了同样的错误。 Is it possible to ignore ssl?是否可以忽略 ssl?
Thanks谢谢
openssl version maybe too low. openssl 版本可能太低。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.