CustomValidationError: Parameter channel_priority = 'flexible' declared in /home/husonghui/.condarc is invalid.
The value 'flexible' cannot be boolified.
本人用的是清华源。anaconda3安装在主目录,在主目录进行一下操作sudo gedit ~/.condarc
里面有一行 xxx:flexible的命令,这种错误应该是设置清华源镜像后.condarc没有设置好,删除部分内容,修改后的内容如下
channels:
- http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
- http://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/
- http://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/msys2/
ssl_verify: true
show_channel_urls: true
注意上面的是http,如果第一次更新不行,重新试一两次就可以了