在使用pip进行软件包安装的时候出现问题:
WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
解决:
mkdir -p ~/.pip
vim ~/.pip/pip.conf
然后输入内容:
[global]
index-url = http://mirrors.aliyun.com/pypi/simple/
[install]
trusted-host = mirrors.aliyun.com
再次使用pip安装即可。文章来源:https://www.toymoban.com/news/detail-852034.html
参考:https://blog.csdn.net/witton/article/details/109352577?spm=1001.2101.3001.6650.15&utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7ECTRLIST%7ERate-15-109352577-blog-128715977.235%5Ev43%5Epc_blog_bottom_relevance_base2&depth_1-utm_source=distribute.pc_relevant.none-task-blog-2%7Edefault%7ECTRLIST%7ERate-15-109352577-blog-128715977.235%5Ev43%5Epc_blog_bottom_relevance_base2文章来源地址https://www.toymoban.com/news/detail-852034.html
到了这里,关于【已解决】:pip is configured with locations that require TLS/SSL的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!