Anaconda创建虚拟环境报错—UnavailableInvalidChannel: The channel is not accessible or is invalid
解决办法:使用以下命令恢复默认源
conda config --remove-key channels
- 1
如果恢复默认源报错如下
CondaKeyError: 'channels': key 'channels' is not in the config file
- 1
说明应该是已经恢复到默认源
执行创建环境依然报错时,查看.yml文件中的channels
注释掉.yml文件中的镜像源