ipython: command not found

If you are getting “`ipython: command not found`” when you try to run iPython at the command prompt, after you have installed it using:

sudo port install py27-ipython

(or whatever flavor of Python you prefer — I use 2.7 because that’s where support is most robust and newbs like me shouldn’t hang out on the bleeding edge), then what you need to do is to *select* it:

sudo port select –set ipython ipython27

Now, all better!

One thought on “ipython: command not found

  1. Hi, I do the same, but when I run the second command it give me this error: Selecting ‘ipython27’ for ‘ipython’ failed: The specified version ‘ipython27’ is not valid.

    Any help is highly appreciated.

Leave a Reply