views:

1588

answers:

3

Does iPython work on Mac OS X 10.6.1 Snow Leopard? I'm python noob, how can I install iPython on my Mac? Links? suggestions?

Thanks

+6  A: 

To install with the Apple-supplied Python in 10.6:

$ sudo /usr/bin/easy_install-2.6 ipython

To use:

$ ipython
Ned Deily
No need for the full path, just `sudo easy_install ipython`
dbr
the mac comes with easy_install built in?!?
K. Brafford
In this case, the full path is the easy_way to ensure that the package is installed with a specific Python instance, the Apple-supplied Python, avoiding the ambiguities of the OP's $PATH setting and what other Pythons and setuptools packages have been installed.
Ned Deily
Yes, Apple supplies an easy_install with its Python (in both 10.5 and 10.6). A fair number of other optional packages, too.
Ned Deily
+2  A: 

Though ipython installs and is runnable using easy_install, I found that there were some rendering problems which could only be solved by installing pyreadline as well. However, i found that there were some problems with pyreadline's installation using easy_install. The solution i've gone with involves manually extracting the python package and editing the version of gnu-readline which pyreadline tries to compile. I've posted a more in depth guide on my blog

Cheers

-- Sina

Sina Samangooei
the blog is a 404, could you post another link?
nbv4
+2  A: 

I may add that running

$ sudo /usr/bin/easy_install-2.6 readline ipython

gives you the ability to use tab completion to see the attributes of a module....

CaseyIT