Anaconda Navigator不更新软件包

编程入门 行业动态 更新时间:2024-10-20 09:24:56
本文介绍了Anaconda Navigator不更新软件包的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我正在尝试通过Anaconda Navigator更新我的环境.但是它无法更新某些软件包.如您所见,应用"按钮处于非活动状态,并且显示一条消息已安装软件包",但是该软件包仍在可更新"页面中.另外,Spyder告诉我每次启动时都要更新nbconvert.

I'm trying to update my environment through Anaconda Navigator. But it fails to update some packages. As you can see, the Apply button is inactive and there is a message saying "Package is already installed" but the package is still in Updatable page. Also, Spyder tells me to update nbconvert at each start.

我尝试过:

  • conda更新conda
  • conda更新anaconda-navigator
  • conda更新导航器更新程序
  • conda更新--all -y

但是这些软件包仍在可更新列表中.

But still these packages are in Updatable list.

这是conda信息输出:

This is the conda info output:

C:\Users\user>conda info active environment : None user config file : C:\Users\user\.condarc populated config files : C:\Users\user\.condarc conda version : 4.6.8 conda-build version : 3.17.8 python version : 3.6.8.final.0 base environment : C:\Users\ismetb\Anaconda3 (writable) channel URLs : repo.anaconda/pkgs/main/win-64 repo.anaconda/pkgs/main/noarch repo.anaconda/pkgs/free/win-64 repo.anaconda/pkgs/free/noarch repo.anaconda/pkgs/r/win-64 repo.anaconda/pkgs/r/noarch repo.anaconda/pkgs/msys2/win-64 repo.anaconda/pkgs/msys2/noarch package cache : C:\Users\user\Anaconda3\pkgs C:\Users\user\.conda\pkgs C:\Users\user\AppData\Local\conda\conda\pkgs envs directories : C:\Users\user\Anaconda3\envs C:\Users\user\.conda\envs C:\Users\user\AppData\Local\conda\conda\envs platform : win-64 user-agent : conda/4.6.8 requests/2.21.0 CPython/3.6.8 Windows/10 Windows/10.0.17134 administrator : False netrc file : None offline mode : False

我该如何解决?

推荐答案

我发现有效的解决方案是替代方法.

The solution I found to work is the alternative method found on the anaconda site.

在终端中输入:

conda deactivate

其次:

conda update anaconda-navigator

其他解决方案更新了软件包,但没有更新Anaconda Navigator本身.就您而言,问题似乎可能并未首先停用.

Other solutions updated the packages but not Anaconda Navigator itself. In your case, it seems the issue might have been not deactivating first.

更多推荐

Anaconda Navigator不更新软件包

本文发布于:2023-07-05 06:57:39,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1034405.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:软件包   Anaconda   Navigator

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!