spyder: Mac OS spyder won't launch: python.app directory mismatch

Problem Description

Spyder won’t launch. .../python.app/.../python directory does not match that in ../anaconda3/bin/pythonw

What steps reproduce the problem?

  1. Spyder (3.3.6) installed through anaconda navigator
  2. Launching spyder through navigator gives no response
  3. Typing spyder in terminal returned error

Paste Traceback/Error Below (if applicable)

/Users/xyan/anaconda3/bin/pythonw: line 3: /Users/xyan/anaconda3/python.app/Contents/MacOS/python: No such file or directory

Versions

  • Spyder version: 3.3.6
  • Python version: 3.7.3
  • Qt version: 5.9.7
  • PyQt version: 5.9.2
  • Operating System name/version: Mac Mojave 10.14.6

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Reactions: 5
  • Comments: 24 (5 by maintainers)

Most upvoted comments

Please run

conda install -f python.app

to see if that helps.

conda install -f python.app got Spyder to open for me for a second and then quit immediately with an error message “python quit unexpectedly”

@ccordoba12 your solution worked for me as well

@ccordoba12 Thank you!

Yeah, conda update --all is usually not your best friend.