简体   繁体   中英

How to install iPython on Snow Leopard

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

To install with the Apple-supplied Python in 10.6:

$ sudo /usr/bin/easy_install-2.6 ipython

To use:

$ ipython

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....

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

与其他python扩展一样, pip使它非常简单:

sudo pip install ipython

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM