您好,欢迎来到二三娱乐。
搜索
您的当前位置:首页anaconda不能升级怎么解决?

anaconda不能升级怎么解决?

来源:二三娱乐

打开Anaconda Navigator发现jupyter,jupyter Lab需要升级 升级过程中发现网速超慢而且最后总会提示错误。

出现这种情况是因为安装包的源在国外导致,我们可以通过更换源来解决。(推荐:)

1、Anaconda Prompt管理员方式运行

2、分别执行以下三条命令 每次按下回车

中科大源:

conda config --add channels https://mirrors.ustc.edu.cn/anaconda/pkgs/main/
conda config --add channels https://mirrors.ustc.edu.cn/anaconda/pkgs/free/
conda config --add channels https://mirrors.ustc.edu.cn/anaconda/cloud/conda-forge/
conda config --add channels https://mirrors.ustc.edu.cn/anaconda/cloud/msys2/
conda config --add channels https://mirrors.ustc.edu.cn/anaconda/cloud/bioconda/
conda config --add channels https://mirrors.ustc.edu.cn/anaconda/cloud/menpo/
conda config --set show_channel_urls yes

清华源:

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

3、执行升级命令

升级conda
conda update conda

升级Anaconda
conda update anaconda

升级Anaconda Navigator
conda update anaconda-navigator

升级所有包
conda update --all

更多python知识请关注。

Copyright © 2019- yule263.com 版权所有 湘ICP备2023023988号-1

违法及侵权请联系:TEL:199 1889 7713 E-MAIL:2724546146@qq.com

本站由北京市万商天勤律师事务所王兴未律师提供法律服务