• 欢迎访问搞代码网站,推荐使用最新版火狐浏览器和Chrome浏览器访问本网站!
  • 如果您觉得本站非常有看点,那么赶紧使用Ctrl+D 收藏搞代码吧

anaconda不能升级怎么解决?

相关文章 搞java代码 3年前 (2022-05-21) 22次浏览 已收录 0个评论

anaconda不能升级怎么解决?

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

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

1、Anaconda Prompt管理员方式运行

anaconda不能升级怎么解决?

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

中科大源:

conda config --add channels https://mirrors.ustc.edu.cn/<a href="https://www.gaodaima.com/tag/anaconda" title="查看更多关于anaconda的文章" target="_blank">anaconda</a>/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

www#gaodaima.com来源gao@!dai!ma.com搞$$代^@码!网搞代码

清华源:

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知识请关注python教程。

来源:搞代码网:原文地址:https://www.gaodaima.com


搞代码网(gaodaima.com)提供的所有资源部分来自互联网,如果有侵犯您的版权或其他权益,请说明详细缘由并提供版权或权益证明然后发送到邮箱[email protected],我们会在看到邮件的第一时间内为您处理,或直接联系QQ:872152909。本网站采用BY-NC-SA协议进行授权
转载请注明原文链接:anaconda不能升级怎么解决?

喜欢 (0)
[搞代码]
分享 (0)
发表我的评论
取消评论

表情 贴图 加粗 删除线 居中 斜体 签到

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址