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、方法三

posted @ 2021-03-11 10:45  薄书  阅读(5163)  评论(1编辑  收藏  举报