通过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 糖果传递
- 下一篇: spring 环境