Update Spyder 3.2.6 to 3.2.7 - python

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. :)

Related

I cannot update Spyder on Anaconda, updating takes forever

I want to install a version of Spyder higher than 5.1.5 on Anaconda 2.3.0. I have updated anaconda using either the pop up of anaconda or using CMD and typing
conda update --all
or
conda update conda
conda update anaconda
After I updated Anaconda, I tried to update spyder. I made several attemps:
I used the wheel next to spyder and did "update spyder". That took very long, ended after more than one hour but Spyder is still version 5.1.5. I then used the wheel to manually select an install version, I picked one of the latest two, 5.2.2. However even after spending more than 3 hours, the update is not over. It's still running. "Upgrading application spyder on C:\my path" with a loading circle running below Spyder's icon and "Spyder" on the navigator.
I also tried to remove spyder before reinstalling it with:
conda remove spyder
conda remove python-language-server
conda update anaconda
conda install spyder=5.2.2
But it stuck at the last step with conflicts running for more than 6 hours with no end in sight.
I uninstalled anaconda, started with a fresh install and tried the same things, after a fresh install I tried only doing: conda install spyder=5.2.2, but that didn't work, it also ran for more than 5 hours helplessly.
I tried to remove spyder from the navigator by uninstalling it individually before reinstalling spyder from the 5.2.2 directly but it didn't work either.
Thanks for your help.
Edit: 24 hrs later, and it's still supposedly updating. This solution did not work for me (to upgrade to Spyder 5.3.3).
I'm attempting this for myself right now, as I'm having the same trouble.
Try updating Anaconda Navigator first, then using it to upgrade Spyder to the most recent version.. but instead of clicking “Update application” which still doesn’t quite work, click on “Install specific version” and choose the latest version of Spyder.
https://mathtuition88.com/2020/09/08/updating-spyder-takes-forever/

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(version 1.9.12) not upgrading in Windows 10

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

can't update spyder to 4.0.0b2

I'm trying to update Spyder to version 4.0.0b2 but I'm getting an error. I don't have a lot of experience with cmd or anaconda prompt, so I don't understand the problem. Any ideas?
I'm not on MS Windows but I see several things in your screenshot
You are on base environment
You already have spyder 3.3.3 and that means that you have to use conda update spyder or uninstall it and then install it with your command conda install -c spyder-ide spyder=4.0.0b2
The same with all remaining packages mentioned there (preferably one by one since some may disappear like the kernel one when you uninstall spyder 3.3.3)
If you see that Anaconda cannot find the package in your current channels, try via proposed channels on Anaconda Cloud like conda search --override-channels --channel URL/PACKAGE
Hope it helps (:

Categories