# Installation

The Qt console requires Qt, such as PyQt5, PyQt4, or PySide.

Although pip and conda may be used to install the Qt console, conda is simpler to use since it automatically installs PyQt. Alternatively, qtconsole installation with pip needs additional steps since pip cannot install the Qt requirement.

## Install using conda

To install:

    conda install qtconsole

Note

If the Qt console is installed using conda, it will automatically install the Qt requirement as well.

## Install using pip

To install:

    pip install qtconsole

Important

Make sure that Qt is installed. Unfortunately, Qt cannot be installed using pip. The next section gives instructions on installing Qt.

## Installing Qt (if needed)

We recommend installing PyQt with conda:

    conda install pyqt

or with a system package manager. For Windows, PyQt binary packages may be used.

For example with Linux Debian’s system package manager, use:

    sudo apt-get install python3-pyqt5 # PyQt5 on Python 3
    sudo apt-get install python3-pyqt4 # PyQt4 on Python 3
    sudo apt-get install python-qt4    # PyQt4 on Python 2

See also

Installing Jupyter The Qt console is part of the Jupyter ecosystem.