1、问题报错截图

conda错误  创建新环境conda create -n TF117 python=3.5时报错 An unexpected error has occurred. Conda has prepared the above report.
conda错误  创建新环境conda create -n TF117 python=3.5时报错 An unexpected error has occurred. Conda has prepared the above report.
conda错误  创建新环境conda create -n TF117 python=3.5时报错 An unexpected error has occurred. Conda has prepared the above report.

方法一

也有挺多人遇到类似的错误,试了下别人的解决方案:

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

方法三

相关文章:

  • 2021-06-15
  • 2022-12-23
  • 2022-12-23
  • 2022-01-22
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-10-21
  • 2021-07-17
  • 2021-11-11
  • 2021-05-06
  • 2022-12-23
  • 2021-10-31
  • 2021-12-22
相关资源
相似解决方案