当前位置:   article > 正文

错误:pip is configured with locations that require TLS/SSL, however the ssl module in Python is not...

错误:pip is configured with locations that require TLS/SSL, however the ssl module in Python is not...

       在根据https://www.jb51.net/article/202175.htmUbuntu16安装Python3.9时,在第五步错误处理步骤后输入$pip list指令仍然显示warning:pip is configured with locations that require TLS/SSL, however the ssl module in Python is not...具体如下图所示:

       在网上有很多人说在编译的时候需要添加 --with-ssl 如:./configure --prefix=/usr/local/python3 --with-ssl-default-suites=openssl,但是在添加之后确实也会出现警告configure: WARNING: unrecognized options: --with-ssl 。又有人说这个选项已经不支持了,没有作用了。为此我又在网上搜索了关于WARNING: unrecognized options: --with-ssl的相关解决方案,最终根据如下操作得以解决,它是在安装3.8.11版本遇到的同样问题,对于Python3.9同样适用。

最终,经过上述操作,结果正确:

 

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/Li_阴宅/article/detail/922807
推荐阅读
相关标签
  

闽ICP备14008679号