Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>This is unfortunate as more and more Python distributions on OS X are being built with the Apple-supplied <code>libedit</code> in OS X rather than the GPL-licensed GNU <code>readline</code> library which Apple does not ship. For instance, current 64-bit/32-bit python.org installers for OS X use <code>libedit</code> while the 32-bit-only installers currently use <code>readline</code> since <code>libedit</code> was buggy on older versions of OS X. While the 32-bit-only installer for Python 3.2 can be installed on 10.7, it is problematic on 10.7 if you need to install any C extension modules, as that Python was built with the older 10.4u SDK and ppc archs which are not supported on 10.7. Ideally, iPython should be modified to work correctly with either <code>libedit</code> or <code>readline</code>. If there are Python bugs inhibiting that, bugs against Python itself should be filed. Also, perhaps the maintainers of the <code>readline</code> package on PyPI can be persuaded to build and put a 3.2 binary package out there.</p> <p>Otherwise you can build it yourself using their source distribution, assuming you have installed Xcode for Lion. If the Python 3.2 bin framework is not in your path, you'll need to do:</p> <pre><code>$ export PATH=/Library/Frameworks/Python.framework/Versions/3.2/bin:$PATH </code></pre> <p>Then if you have not already installed Distribute for Python 3.2:</p> <pre><code>$ curl -O http://python-distribute.org/distribute_setup.py $ python3.2 distribute_setup.py </code></pre> <p>Then download, build, and install the <code>readline</code> package from PyPI:</p> <pre><code>$ easy_install-3.2 readline </code></pre> <p>Or you could install a version of Python 3.2 from a third-party distributor like MacPorts which does provide a <code>readline</code> port (<code>py32-readline</code>) along with an iPython port.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload