Anaconda Navigator does not update packages(Anaconda Navigator 不更新软件包)
问题描述
我正在尝试通过 Anaconda Navigator 更新我的环境.但它无法更新某些软件包.如您所见,Apply 按钮处于非活动状态,并且有一条消息说Package is already installed",但该包仍在可更新页面中.此外,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:Usersuser>conda info
active environment : None
user config file : C:Usersuser.condarc
populated config files : C:Usersuser.condarc
conda version : 4.6.8
conda-build version : 3.17.8
python version : 3.6.8.final.0
base environment : C:UsersismetbAnaconda3 (writable)
channel URLs : https://repo.anaconda.com/pkgs/main/win-64
https://repo.anaconda.com/pkgs/main/noarch
https://repo.anaconda.com/pkgs/free/win-64
https://repo.anaconda.com/pkgs/free/noarch
https://repo.anaconda.com/pkgs/r/win-64
https://repo.anaconda.com/pkgs/r/noarch
https://repo.anaconda.com/pkgs/msys2/win-64
https://repo.anaconda.com/pkgs/msys2/noarch
package cache : C:UsersuserAnaconda3pkgs
C:Usersuser.condapkgs
C:UsersuserAppDataLocalcondacondapkgs
envs directories : C:UsersuserAnaconda3envs
C:Usersuser.condaenvs
C:UsersuserAppDataLocalcondacondaenvs
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
我该如何解决这个问题?
How can I solve this?
推荐答案
我发现可行的解决方案是 替代方法在 anaconda 网站上找到.
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 不更新软件包的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:Anaconda Navigator 不更新软件包


基础教程推荐
- 使 Python 脚本在 Windows 上运行而不指定“.py";延期 2022-01-01
- 将 YAML 文件转换为 python dict 2022-01-01
- 症状类型错误:无法确定关系的真值 2022-01-01
- 如何在 Python 中检测文件是否为二进制(非文本)文 2022-01-01
- 合并具有多索引的两个数据帧 2022-01-01
- 使用 Google App Engine (Python) 将文件上传到 Google Cloud Storage 2022-01-01
- 使用Python匹配Stata加权xtil命令的确定方法? 2022-01-01
- Python 的 List 是如何实现的? 2022-01-01
- 哪些 Python 包提供独立的事件系统? 2022-01-01
- 如何在Python中绘制多元函数? 2022-01-01