The Eric Python IDE

How to install eric7 on a Raspberry Pi 4 computer

In order to use eric7 on a Raspberry Pi 4 computer a Linux distribution providing Qt6 and PyQt6 packages need to be installed. This recipe was tested on " Manjaro ARM". This requirement is there because up to now no PyQt6 and PyQt6-Qt6 (and the like) wheels are available via the Python Packaging Index PyPI.

Step 1: Qt6 and PyQt6

Ensure the following Qt6 and PyQt6 packages are installed or install them.

Step 2: Spell Checking

If spell checking is desired, ensure the following packages are installed.

Step 3: Prepare eric7 Installation

In order to install eric7 it is recommended to create a Python virtual environment in order to isolate the eric7 execution environment as much as possible from the standard installation. In order to create this environment execute the following in a terminal window.

    python3 -m venv --system-site-packages ~/eric7_env
    ~/eric7_env/bin/python3 -m pip install --upgrade pip

Note: The switch --system-site-packages is necessary because there are no PyQt6/Qt6 packages available for the AArch64 (ARM) platform. This necessitates the use of the packages provided by the distribution.

Step 4: Install eric7 (eric-ide)

Install eric7 into the created Python virtual environment by following these steps.

    ~/eric7_env/bin/python3 -m pip install eric-ide
    ~/eric7_env/bin/eric7_post_install

The second command will create and install desktop menu entries for the eric7 IDE and the eric7 Web Browser.