I cannot update Spyder on Anaconda, updating takes forever - python

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/

Related

Spyder version 5.1.5 issues

I had problems installing Spyder version 5.1.5. I followed all the steps outlined by #Carlos Cordoba which I have listed below:
conda remove spyder
conda remove python-language-server
conda update anaconda
conda install spyder=5.1.5
As soon as I did the above, my Anaconda installation was broken really badly. It is taking almost 8 hours to repair. If I had known, I should have remained with my jupyter notebooks but I decided to be adventurous with Spyder. Anyone knows any other fix for this?
You can try updating to Spyder 5.0.5 first then updating to 5.1.5 next. Maybe it might work. I managed to successfully update to 5.1.5 from 5.0.5 days ago without encountering any issues. Unfortunately, now that I have uninstalled and reinstalled Python and Anaconda in my newer laptop, even I too encountered this difficulty in updating to 5.1.5 straight from 4.2.5. Updating to Spyder 5.0.5 from 4.2.5 worked, but then updating to 5.1.5 didn't.

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

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

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

Segmentation fault when I try to run Anaconda Navigator

I have recently Installed Anaconda for Python 3.6 but it shows the error "Segmentation fault" whenever I try to run Anaconda-Navigator.
I've tried just writting in the terminal Anaconda-Navigator and also going to my Anaconda3 folder and try to execute it inside bin.
The only solution that works so far is accessing the previously bin folder as root. My problem is that I need to activate TensorFlow before I run anything in my console, but that is imposible as a root user.
I've already try to upgrade both, Anaconda and Navigator and reinstall them but nothing ocurrs
Anyone here has any idea of what is happening?
Had the same problem with my anaconda install. It is probably related to incompatible versions of conda and anaconda navigator.
conda update --all
worked for me.
I had the same issue today, and I solved by running:
conda upgrade anaconda
The output said:
The following packages will be DOWNGRADED due to dependency conflicts:
anaconda-navigator: 1.5.1-py36_0 --> 1.5.0-py36_0
after that, I launched anaconda-navigator (no segfault this time) and a window prompted me to upgrade to 1.5.1. I clicked yes, and now running anaconda-navigator 1.5.1 without segfaults on launch. Don't know what is the reason
I tried to install opencv via conda then I got the same error. Later I followed the
conda update conda
conda update anaconda-navigator
conda update navigator-updater
Then I did
conda update --all
Voila, its working again
I had the same issue when I install OpenCV library using conda.Most probably downgrading something makes this issue happen. Just type :
conda update --all
I had the same problem.I solved it by adding /lib to mt LD_LIBRARY_PATH.
Note: On my system Anaconda installation path is /home/pushyamik/anaconda3.

Categories