[shuqiq@shuqiq bin]$ ./conda install ipyton
有时会遇到报错:
Collecting package metadata (repodata.json): failed
CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/linux-64/repodata.json>
Elapsed: -
An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent, and a simple retry will get you on your way.
'https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/linux-64'
解决方法是:
1.
找到" .condarc "文件
这个文件在/home/用户目录下
将ssl_verify:true改成false
或者使用命令:
[shuqiq@shuqiq ~]$ ./conda config --set ssl_verify false
2.
把镜像路径的https改为http