Reputation: 45
I've followed these steps in order to update Spyder:
conda remove spyder conda remove python-language-server conda update anaconda conda install spyder=5.1.5
As advised in post Cannot update spyder=5.1.5 on new anaconda install
However, I cannot open Spyder anymore form my anaconda navigator...
It gives me the error: Application spyder launch may have produced error /Users/me/opt/anaconda3/bin/pythonw: line 3: /Users/me/opt/anaconda3/python.app/Contents/MacOS/python: No such file or directory
Does anyone know what the issue might be?
Upvotes: 2
Views: 6829
Reputation: 50
i ran into the same problem. I solved it now, here is what i have done.
Steps to fix it:
/opt/anaconda3/bin
nano pythonw
/opt/anaconda3/python.app/Contents/MacOS/python "$@"
/opt/anaconda3/python.app/pythonapp/Contents/MacOS/python "$@"
(the pythonapp
part is missing)Explanation:
There is a file named python
, but in a different path (/opt/anaconda3/python.app/pythonapp/Contents/MacOS/python
). So I guess, that the internal path is set wrong or somebody forgot to change it. That means, that as soon as you hit the "launch" button, the navigator is looking at the wrong place. We either have to adjust that path manually or wait for a solution from the development team.
Hope i could help
Upvotes: 2