How to install iPython on Snow Leopard

前端 未结 4 1320
长发绾君心
长发绾君心 2021-01-02 07:21

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

相关标签:
4条回答
  • 2021-01-02 07:29

    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

    0 讨论(0)
  • 2021-01-02 07:32

    To install with the Apple-supplied Python in 10.6:

    $ sudo /usr/bin/easy_install-2.6 ipython
    

    To use:

    $ ipython
    
    0 讨论(0)
  • 2021-01-02 07:32

    As with other python extensions, pip makes it quite easy:

    sudo pip install ipython
    
    0 讨论(0)
  • 2021-01-02 07:35

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

    0 讨论(0)
提交回复
热议问题