Anaconda Navigator does not update packages

假如想象 提交于 2020-12-29 10:44:29

问题


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.

I tried:

  • conda update conda
  • conda update anaconda-navigator
  • conda update navigator-updater
  • conda update --all -y

But still these packages are in Updatable list.

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 : 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:\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

How can I solve this?


回答1:


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

In the terminal type:

conda deactivate

followed by:

conda update 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.




回答2:


Got the similar problem. Solved by command line "conda update anaconda" in line with Anaconda Troubleshooting




回答3:


In anaconda navigator:

  1. right click on the package
  2. then select specific function
  3. then apply.

The problem should be resolved by now.



来源:https://stackoverflow.com/questions/55144561/anaconda-navigator-does-not-update-packages

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!