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

1,231次阅读
没有评论

       在根据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…具体如下图所示:

错误:pip

       在网上有很多人说在编译的时候需要添加 –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同样适用。

错误:pip

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

错误:pip

 

神龙|纯净稳定代理IP免费测试>>>>>>>>天启|企业级代理IP免费测试>>>>>>>>IPIPGO|全球住宅代理IP免费测试

相关文章:

版权声明:Python基础教程2022-11-22发表,共计508字。
新手QQ群:570568346,欢迎进群讨论 Python51学习