09 April 2022

eric

System: Slackware Linux (version 15.0)
CPUs: Intel(R) Core(TM) i5-3230M CPU @2.60GHz
GPU: Mesa DRI Intel(R) HD Graphics 4000

Installation of eric.

    •  cd ~
    •  python3 -m venv eric_env
    •  ~/eric_env/bin/python3 -m pip install --upgrade pip
    •  ~/eric_env/bin/python3 -m pip install eric-ide
    •  ~/eric_env/bin/eric7_post_install

If you have problems restarting the web browser.

bash-5.1$ ls ~/.eric7/web_browser/sessions
session.json
bash-5.1$ touch ~/.eric7/web_browser/sessions/{session.json.old,session.json.old1}
bash-5.1$

Updated: 01-08-2026

A patch for version 26.7.

bash-5.1$ python3 --version
Python 3.9.25
bash-5.1$ pushd ~/eric_env/lib/python3.9/site-packages
~/eric_env/lib/python3.9/site-packages ~
bash-5.1$ sed -i '12i from __future__ import annotations' \
> eric7/DebugClients/Python/FlexModuleCompleter.py
bash-5.1$ popd
~
bash-5.1$

The patch becomes redundant with an upgrade to Python 3.10.x.

As typical with upgrades you'll be obliged to reconfigure your virtual environment.

    •  python3.10 -m venv --upgrade ~/eric_env