2

I had a couple of Python 2 versions under home-brew. Since I was only using ipython notebook, I decided to uninstall all Python 2 instances, which turned out to be a bad idea because now I just get an error when trying start the P ython server.

-bash: /usr/local/bin/ipython: /usr/local/opt/python/bin/python2.7: bad interpreter: No such file or directory

How do I solve this?

Thanks.

1 Answers1

1

You need to reinstall Python 2.7 or use ipython3 instead of ipython. If you get a "command not found" error, run this command: export PATH=/Library/Frameworks/Python.framework/Versions/3.2/bin:$PATH then try running ipython3 again.