Bad Interpreter Error of Jupyter and its Solution
After messing up with my Python
virtualenv my computer finally started going nuts. Jupyter notebook threw me the following error every time I start it:
zsh: /usr/local/bin/jupyter: bad interpreter: /usr/local/opt/python/bin/python3.7: no such file or directory
It turns out that the cause was that along with reinstallation of Python, the homebrew symlinks to Jupyter are now broken. A simple solution would be
Then the notebook starts just fine.