I've been having trouble with Python, iPython and the libraries. The following points show the chain of the problematics. I'm running Python 2.7 on Mac Lion.
Okay quick fix:
/usr/bin/python, right? Do
and I bet that'll be
/usr/local/bin/ipython. Let's look inside:
Edit 9/7/16 -- The file now looks like this:
cat /usr/local/bin/ipython #!/usr/bin/python # -*- coding: utf-8 -*- import re import sys from IPython import start_ipython if __name__ == '__main__': sys.argv = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv) sys.exit(start_ipython())
And mine works properly like this, but my situation isn't exactly like the OP's.
Original answer -- 9/30/13:
cat /usr/local/bin/ipython #!/usr/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'ipython==0.12.1','console_scripts','ipython' __requires__ = 'ipython==0.12.1' import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.exit( load_entry_point('ipython==0.12.1', 'console_scripts', 'ipython')() )
Aha - open
/usr/local/bin/ipython in your editor (with privileges), and change the first line to
save, start iPython, should say it's using the version you want now.