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

posted @ 2020-03-05 20:11  yfl无聊  阅读(22419)  评论(0编辑  收藏  举报