conda錯誤 創建新環境conda create -n TF117 python=3.5時報錯 An unexpected error has occurred. Conda has prepared the above report.


創建新環境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

4、方法三


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM