通过conda或者pip安装包时出现There was a problem confirming the ssl certificate报错
生活随笔
收集整理的這篇文章主要介紹了
通过conda或者pip安装包时出现There was a problem confirming the ssl certificate报错
小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.
一、通過.txt安裝package
1、pip install -r xxx.txt
2、conda install? --yes --file xxx.txt
二、解決報(bào)錯(cuò)
參考地址: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/?阿里雲(yún)
2)https://pypi.mirrors.ustc.edu.cn/simple/??中國科技大學(xué)
3)?http://pypi.douban.com/simple/? 豆瓣
4)?https://pypi.tuna.tsinghua.edu.cn/simple/?清華大學(xué)
5)??http://pypi.mirrors.ustc.edu.cn/simple/?中國科學(xué)技術(shù)大學(xué)
總結(jié)
以上是生活随笔為你收集整理的通过conda或者pip安装包时出现There was a problem confirming the ssl certificate报错的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: bzoj1045 糖果传递
- 下一篇: spring 环境