Daniel Fourie
Daniel Fourie

Reputation: 43

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:

enter image description here

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

enter image description here

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

enter image description here

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

Upvotes: 1

Views: 2457

Answers (2)

Daniel Fourie
Daniel Fourie

Reputation: 43

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.

Upvotes: 1

Tehnorobot
Tehnorobot

Reputation: 369

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

Upvotes: 0

Related Questions