Anaconda Navigator(version 1.9.12) not upgrading in Windows 10 - python

The Anaconda Navigator that I am using is version 1.9.12. Whenever I open the Navigator(run as Administrator), a pop-up comes that asks for upgrade with the following message:
There's a new version of Anaconda Navigator available. We strongly recommend you to upgrade.
If you click yes, Anaconda Navigator will close and then the Anaconda Updater will start.
Do you wish to update to Anaconda Navigator 1.10.0 now?
(You will be prompted to elevate privileges)
No Yes
Once I click the 'Yes' button, the pop-up goes off and nothing will happen(Navigator UI stays there). I tried alternative ways that are mentioned in StackOverflow. I tried the following commands in Anaconda Prompt:
conda update anaconda-navigator
I ran the Anaconda Prompt as administrator. Once the command is run, the process gets stuck at 'resolving the environments'. It may be noted that Python 3.8 is the version that I am running. The Python programs and all its modules are all running fine. Just that I want to upgrade the Navigator.

I found this answer from the another StackOverflow post, but for MacOS. Apparently there's a bug in the Anaconda Updater tool that is fixed in the 1.10 update, but as a catch 22, you can't use the updater to update the software to fix the bug that prevents you from updating the software (as described in the release notes).
So what I did was go to the Windows menu and open the Anaconda Powershell Prompt(Anaconda3) and at the prompt enter:
conda deactivate
then after that is done enter the following:
conda update anaconda-navigator
then just like a pip install it shows you what needs to be updated, you indicate at the prompt, yes (enter y) and it installs.
good luck!

Just encountered the same problem. Windows 10 64bit Version 10.0.19043 Build 19043, Anaconda Navigator 1.9.12
Try
conda install anaconda-navigator=2.0.1
Worked for me.
After that updated to Anaconda Navigator 2.2.0 (last version) via start GUI menu.

After trying different suggested solutions on StackOverflow, this is what eventually worked for me (I am running a Windows 10 Home 21H1 on a 64-bit machine):
Exit Anaconda Navigator
From Windows Start, launch Anaconda Powershell Prompt (miniconda)
At the command line prompt, enter:
conda install anaconda
At this point, I tried conda update anaconda-navigator, but got the error PackageNotInstalledError: Package is not installed in prefix <\path\to\package>:
At the command line prompt, enter the following:
conda install --prefix <\path\to\package> anaconda-navigator
conda update anaconda-navigator

Related

Why is Miniconda not running the latest version of Spyder?

I am in my tensorflow env on my minicoda prompt and I have just installed the latest version of Spyder via the following prompt: conda update spyder. Before I updated spyder I was on v4.1.3. I then searched to see if it was installed correctly with the following prompt: conda search -f spyder which brought up this list:
However, when I run spyder from miniconda: spyder (or even startup the application by clicking on the icon) it still launches my previous version of 4.1.3
What I then tried to do was run the prompt spyder=5.05 but it still launches version 4.1.3.
In my miniconda3\Lib\site-packages directory my spyder folder's file __init__.py has version = 4.1.3 so I understand that that is why it is launching 4.1.3. I do not know why this spyder folder was not updated. You can also see the pkgs folder there is only Spyder v4.1.3
Can someone please help me get the latest version of spyder to run without me having to uninstall and reinstall it, as I have all my preferences set on spyder and apparently there is no way of exporting and then importing them. Thanks
In my environment on my Miniconda prompt I typed in conda install spyder=5.0.5 and this resolved the issue. I now have Spyder 5.0.5! Acknowledgements to MB-F for giving the solution in the comment section.
Try to do it in this order:
conda update anaconda
and then
conda install spyder=5
this will allow you to successfully upgrade to version 5.
If it didn't help, then do this:
conda install conda-forge::spyder[version='>=5.0.0]
You can put another version

Updated Anaconda but it broke, so uninstalled and installed again but it is not working?

Yesterday I updated anaconda and spyder and today I could not open anything. So i unistalled and installed again. Now I can see the app in the app menu on start but it does not open. I have tried in the command terminal as well but it is not opening. Can anyone help?
Before reinstalling the prompt was working but now neither the prompt or the navigator are working.
Uninstalling anaconda is risky. You should follow the official guide :
https://docs.anaconda.com/anaconda/install/uninstall/
I recommend you to use anaconda clean then remove again at option B.
conda install anaconda-clean
anaconda-clean --yes
And before reinstall it, be sure you can completely clean it.

Anaconda navigator shows initializing and closes immediately

I have installed anaconda3 on my laptop but every time I try to launch anaconda navigator from windows start menu or anaconda prompt or even command prompt, anaconda navigator would show initializing and then immediately stops. I have attached some pictures of it for reference. I have tried running lots of commands in command prompt and anaconda prompt searching from the internet in order to fix this issue but none of them worked, I used commands like conda update conda, conda update anaconda-navigator, conda update navigator-updater, conda update --all, conda remove anaconda-navigator and then conda install anaconda-navigator, anaconda-navigator --reset and tried launching anaconda-navigator again and many more searching from the internet.
Any help is really appreciated anything if that worked for you might work for me as well so please help me. I'm stuck in my projects.
Thank you
Deepankar Pradhan
You may try one of the following:
Delete the .condarc file in the users folder and restart Navigator.
Delete the .continuum file and restart Navigator.
On conda prompt:
conda update conda
conda update anaconda-navigator
conda update navigator-updater
anaconda-navigator --reset
Restart Navigator

Anaconda install fails. Install vscode fails

I cannot install 64-bit Anaconda 3 on Windows 10. It says the install is complete but when I proceed to install VSCode, it fails. It says to check my internet connection and to look in the log file. But my internet connection is fine and there is no log file. I am running the install with Windows Defender turned off.
When I look at the start menu, none of the components except for Anaconda Prompt, are there. I would like to have Spyder and Jupyter, for example, but they are not there.
If I install the 32-bit version, it works fine. But I need the 64-bit version
Similar issue here. For easy VS code installation with 64-bit anaconda version, you can follow this way:
Install ananconda navigator typing this on shell:
conda install -c anaconda anaconda-navigator
Open anaconda navigator:
anaconda-navigator
It opens a GUI anaconda interface. You can install VS Code from here, only click Install:
It stays Installing dependencies for me all the time, but after reboot, appears installed and works properly.
Hope it helps. It would be interesting to know how to obtain this with conda commands avoiding navigator installation.
I simply close the navigator and open Anaconda Navigator as Run as administrator
and my problem solved.

Update Spyder 3.2.6 to 3.2.7

I have just downloaded/installed Anaconda again after a department store destroyed all my permissions when fixing a power cable and I need to update spyder to 3.2.7
However the updates screen says to not use pip install as it will likely break my installation As aparrently I am using Anaconda/miniconda. Not an option I chose but oh well. Anyway it says to wait until new conda packages are available and update that way.
Searched system for conda and nothing so tried in Anaconda prompt.
conda install -- upgrade spyder
Which should have worked I think.
To no avail.
Please excuse been awhile
Open anacondaprompt
type
conda upgrade spyder
should ask for conda upgrade first
follow instructions
the retype above command
hey presto up to date. :)

Categories