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


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM