Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can't start Spyder after conda update due to python.app error

Tags:

conda

spyder

After

conda update --all

I can't start spyder anymore. If I run spyder in the terminal I get the following error:

/anaconda3/bin/pythonw: line 3: /anaconda3/python.app/Contents/MacOS/python: No such file or directory
like image 206
user1315621 Avatar asked Mar 19 '19 22:03

user1315621


People also ask

What happened to Spyder in Anaconda Python distribution?

I have Anaconda Python Distribution. After executing the conda update conda and conda update --all commands, Spyder no longer launches. Among the updated packages is spyder-kernels (updated to v1.0.1).

How to fix Spyder does not launch in conda?

N/A (Spyder does not launch). conda remove spyder-kernels conda install spyder-kernels=0.* to fix this problem. Sorry, something went wrong.

What version of Python does Spyder run on?

Versions and main components Spyder Version: 2.3.8 Python Version: 2.7.11 Operating system: windows 10 64big

Why can't I update Spyder?

( Spyder maintainer here) Our regular instructions to update Spyder don't work in this case because there are some incompatible dependencies between Spyder 5.0.5 and 5.1.5. To workaround this problem, you need to close Spyder and run the following commands in the Anaconda Prompt (or your system terminal on Linux or macOS):


Video Answer


1 Answers

This problem is solved by running the following command in Terminal.app

conda install -f python.app
like image 125
Carlos Cordoba Avatar answered Oct 12 '22 20:10

Carlos Cordoba