通过conda或者pip安装包时出现There was a problem confirming the ssl certificate报错
生活随笔
收集整理的這篇文章主要介紹了
通过conda或者pip安装包时出现There was a problem confirming the ssl certificate报错
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
一、通過.txt安裝package
1、pip install -r xxx.txt
2、conda install? --yes --file xxx.txt
二、解決報錯
參考地址:https://www.itread01.com/content/1542198799.html
--trusted-host很重要
pip install xlrd -i http://pypi.douban.com/simple --trusted-host pypi.douban.com其他源:
1)http://mirrors.aliyun.com/pypi/simple/?阿里雲
2)https://pypi.mirrors.ustc.edu.cn/simple/??中國科技大學
3)?http://pypi.douban.com/simple/? 豆瓣
4)?https://pypi.tuna.tsinghua.edu.cn/simple/?清華大學
5)??http://pypi.mirrors.ustc.edu.cn/simple/?中國科學技術大學
總結
以上是生活随笔為你收集整理的通过conda或者pip安装包时出现There was a problem confirming the ssl certificate报错的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: bzoj1045 糖果传递
- 下一篇: 如何提高效率SQLITE 大数据量操作效