自学教程:conda装软件报错Solving environment: failed with current_repodata.json解决方法 |
51自学网 2021-12-28 13:50:02 |
深度学习 |
|
这篇教程conda装软件报错Solving environment: failed with current_repodata.json解决方法写得很实用,希望能帮到您。 1.问题代码
最近conda装软件包的时候一直出现下述问题,网上查了很多解决办法都没解决我这个问题。参见link
Collecting package metadata (current_repodata.json): done Solving environment: failed with current_repodata.json, will retry with next repodata source. Collecting package metadata (repodata.json): done Solving environment: failed Initial quick solve with frozen env failed. Unfreezing env and trying again. Solving environment: failed
2.发现原因
后来查看错误信息的时候发现,原来是为了使用conda-forge的两条命令导致此错误。罪魁祸首是第二句。
conda config --add channels conda-forge conda config --set channel_priority strict
3.解决办法
conda config --set channel_priority flexible cifar10数据集转图片格式数据集py源码 Initial quick solve with frozen env failed--conda建立的python2下安装tensorflow遇到的问题 |
|