1. 问题描述:准备在Anaconda prompt执行以下命令:
conda install -c stellargraph stellargraph
报错: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.
2. 解决方法:打开 C:\Users\你的电脑名字\.condarc
删除condarc中所有行,复制粘贴以下代码,然后保存:
channels:
- https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/
- https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
- defaults
show_channel_urls: true
ssl_verify: true
(反正这个文件我用以上代码最后可以成功。不知道大家能不能行了。
3. 重新运行
conda install -c stellargraph stellargraph
- 只要没报错就好(多试几次,可能网不好)。
- 可能Solving environment:\ 会转很久,请耐心等一等。
- 如果想提升速度,最好新建一个虚拟环境再安装软件会快很多。
参考链接:
CONDA SOLVING ENVIRONMENT一晚上还不能完成有解吗?
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)