As of version 0.12, IPython can be installed on Python 3. 2to3 will run automatically as part of the setup. All automated tests are passing, and if you install the necessary libraries, you can run the Qt console, the HTML notebook and the parallel computing framework in Python 3.
Note that IPython will install itself with the command
ipython3, so you can use it alongside Python 2 IPython.
As of Ubuntu 12.04, the packages
ipython3-qtconsole are available in the repositories, along with all their dependencies. 12.10 will also include
On other systems, you can install the following libraries from PyPI:
All of these work with Python 3.
For the Qt console, you also need PyQt (or PySide). It's packaged for Python 3 in Ubuntu 12.04, but for older versions we have to recompile from source. You'll need to install the packages
qt4-dev-tools qt4-qmake python3-dev python3-sip-dev. PyQt must match the system version of Qt, so don't download the newest version from Riverbank. Use
apt-get source python-qt4,
cd into the newly created python-qt4-... directory, and do:
python3 configure.py make sudo make install
Compiling takes a while, but when it's finished, you should be able to run the Qt console frontend (
A couple more tools are useful if you want to help with development:
ipython3to start it). For testing, however, creating a disposable environment with Virtualenv is recommended (Virtualenv version 1.6 or later supports Python 3).