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

Read more here: Source link