I installed python and spyder on my Mac with homebrew and pip. I am using macOS Catalina and zsh. Yesterday, the app was working, I shut down the pc in the evening, and today it doesn't work. And yes I tried to turn it off and on again :)
Some information on my install:
mathieu@tsf-452-wpa-3-213 MacOS % which python3
/usr/local/bin/python3
mathieu@tsf-452-wpa-3-213 MacOS % which spyder3
/usr/local/bin/spyder3
And the zsh config file: nano ~/.zshrc
alias pip=/usr/local/bin/pip3
alias pip3=/usr/local/bin/pip3
alias python=/usr/local/bin/python3
function runpy() {
python "$@"
}
alias pynfb="runpy '/Users/mathieu/Documents/NFB Lab/pynfb/main.py'"
alias nfb="runpy '/Users/mathieu/Documents/NFB Lab/pynfb/main.py'"
alias neurodecode="runpy '/Users/mathieu/Documents/NeuroDecode/neurodecode/gui/$
export NEUROD_ROOT=/Users/mathieu/Documents/NeuroDecode
export NEUROD_DATA=/Users/mathieu/Documents/NeuroDecode/SubjectData
export NEUROD_SCRIPTS=/Users/mathieu/Documents/NeuroDecode/SubjectScripts
In the terminal, the command spyder3
does start spyder perfectly. I created an app with the great SO answer of topoman available here. The app bounces once or twice and then disappear/doesn't start.
Just in case I delete my spyder.app
folder and all its content and recreated one with the procedure described by topoman where I also changed the s
to be capital this time.
mathieu@tsf-452-wpa-3-213 Spyder.app % ls
Contents Icon?
mathieu@tsf-452-wpa-3-213 Contents % ls
Info.plist MacOS
mathieu@tsf-452-wpa-3-213 MacOS % nano spyder
#!/bin/bash
/usr/local/bin/spyder3 $@
And Info.plist
is a copy-paste from the answer of topoman. Any idea how I can fix the app? Or at least how I can get the mac to display an error message to then fix it?