22

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.

Error message

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?

9
  • Is everything in base environment or do you have multiple envs?
    – merv
    Mar 13, 2019 at 15:47
  • I have a separate environment but updates do not work for both base and ai (my env)
    – iso_9001_
    Mar 14, 2019 at 7:26
  • Can you manually verify that the packages are indeed not updated? I.e., check the versions with conda list -n base and conda list -n ai. If they are the latest versions, then maybe it'd be worth trying conda install nbconvert --force-reinstall.
    – merv
    Mar 14, 2019 at 15:24
  • 2
    @merv The error is gone after I deleted .anaconda directory and did a fresh install. But it is still weird that the updatable tab never gets empty.
    – iso_9001_
    Mar 15, 2019 at 18:23
  • 2
    This is happening to me a year later on a fresh anaconda install. :thumbsup:
    – Armatus
    May 6, 2020 at 16:58

6 Answers 6

11

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.

1
  • I am already on latest Navigator version but still have the same problem.
    – Redoman
    Feb 25, 2022 at 1:06
2

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

-1

What anurag said worked for me but I'll explain it differently.

I left clicked on the package name and then at the bottom I could choose which package I wanted to update. I chose the latest and then it updated. For some reason the commands "conda update anaconda" and "conda update python" didn't see the latest and update my version. It only tried to update the installed version.

-1

The below worked for me when I ran it on the anaconda command prompt:

conda update conda
conda update anaconda-navigator
conda update navigator-updater
2
  • This was stated in the question and did not work.
    – mccurcio
    Jan 12 at 14:34
  • In the question they also used "conda update --all -y" I didn't as stated in my answer. Also, as I mention in my answer this is just what worked for me while not including "conda update --all -y".
    – JTD2021
    Jan 12 at 20:52
-1

my problem solved after installing OpenSSL in Anaconda Powershell Prompt

conda install -c anaconda openssl
-9

In anaconda navigator:

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

The problem should be resolved by now.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.