Solving environment: failed错误解决方法

在cmd中输入conda create --name torchreid python=3.7.4后出现Solving environment: failed

解决方法如下

添加 Anaconda Python 免费仓库:

conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
  conda config --set show_channel_urls yes
检查Anaconda的config:查看channel个数以及格式,显然觉得有一个是有问题的:

conda config --show

或者可以使用 下面命令换回默认源:

conda config --remove-key channels

猜你喜欢

转载自blog.csdn.net/luoganttcc/article/details/129888630