Anaconda软件安装使用问题

更新源

命令行

conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
conda config --set show_channel_urls yes

unix系统下可通过~/.condarc查看和编辑源配置
如下信息为正确:

ssl_verify: true
channels:
  - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
show_channel_urls: true

用conda安装包出现的环境不一致问题

出现如下问题:The environment is inconsistent, please check the package plan carefully
解决:

conda update anaconda
如果无法解决,则执行
conda clean --all
conda update --all

参考

原文地址:https://www.cnblogs.com/ChengzhiYang/p/12875459.html