創建新環境conda create -n TF117 python=3.5時報錯 An unexpected error has occurred. Conda has prepared the above report.
1、問題報錯截圖
2、方法一
也有挺多人遇到類似的錯誤,試了下別人的解決方案:
conda config --remove channels conda-forge
conda config --add channels conda-forge
(base) PS C:\Users\Dell> conda config --remove channels conda-forge
CondaKeyError: 'channels': 'conda-forge' is not in the 'channels' key of the config file
發現無效。
3、方法二
有可能是緩存清除了,但索引沒刪,找不到導致報錯。於是運行以下命令,刪除conda中的緩存索引:
conda clean -i