I ran into the same problem, but the following was the only solution that worked for me on OSX 12, Sierra.
ipython always ran for python 3.6, but I need it for 2.7. I could not find the ipython script launch for 2.7, and could not find the IPython module to execute using python -m . None of the brew instally ipython pip install ipython or pip2 install ipython could get version 2.7. Therefore, I received it manually.
brew install ipython@5 installs version 2.7 from here , but does not put it in your $PATH because it knows that the name conflicts with another package. ln -s /usr/local/Cellar/ipython@5/5.5.0_1/bin/ipython /usr/local/bin/ipython2 fix this and let you just start ipython2 from the command line
For me, since I was serious about using ipython for 2.7, I also ran the following commands.
ln -s /usr/local/Cellar/ipython/6.2.1/bin/ipython /usr/local/bin/ipython3 rm -f /usr/local/bin/ipython ln -s /usr/local/bin/ipython2 /usr/local/bin/ipython
Jeremy Paige Oct 30 '17 at 22:28 2017-10-30 22:28
source share