Installing ipython with readline on the mac

前端 未结 6 1464
温柔的废话
温柔的废话 2020-12-14 09:16

I am using ipython on Mac OS 10.5 with python 2.5.1 (I would actually like to use ipython for 2.6.1, but it doesn\'t seem to be available?)

I installed ipython via e

6条回答
  •  旧巷少年郎
    2020-12-14 10:11

    You can install everything you need with essentially one command using MacPorts. First download and install MacPorts from http://www.macports.org/.

    Then just do the following in the terminal: 1) sudo port -v selfupdate
    2) sudo port -v install py26-ipython

    That will install python2.6, ipython for python 2.6 and readline for you. The command to start ipython will be located at /opt/local/bin/ipython2.6

提交回复
热议问题