解决过程:
换了清华源,failed
换源详见:conda安装Pytorch下载过慢解决办法(11月26日更新ubuntu下pytorch1.3安装方法)_watermelon1123的博客-CSDN博客_conda install pytorch
查找相关资料,发现类似的情景
关于anaconda创建环境时出现CondaHTTPError问题的终极解决办法_JJ1018RR的博客-CSDN博客_condahttperror
问题:.condarc找不着——>只是被隐藏了
最后发现是连不上网啊草!
所以最终转向了新的问题
tips:
#查看conda源:
conda config --show
# 删除旧镜像源
conda config --remove channels https://mirrors.tuna.tsinghua.edu.cn/tensorflow/linux/cpu/
# 添加新镜像源
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/tensorflow/linux/cpu/
# 设置搜索时显示通道地址
conda config --set show_channel_urls yes
以上均可以直接在/home/zhang/.condarc中修改
#创建环境
conda create -n my-gui
#查看已创建环境
conda info -e