栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 软件开发 > 后端开发 > Python

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

Python 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

错误: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同样适用。

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

 

转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/864037.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号