This document describes the steps to be performed to use eric on a Chromebook with ChromeOS.
Step 1: Activate the Linux environment through the settings.
Step 2: Open a terminal window and execute these steps
sudo apt update sudo apt upgrade sudo apt install libxkbfile1 libopengl0 python3-pip python3-venv
Step 3: Modify environment to make Qt not use Wayland
As of ChromeOS 94 Qt6 is not yet compatible with the ChromeOS Wayland implementation. In order to force Qt applications to use X11 modify the "cros-garcon-override.conf" file.
sudo vi /etc/systemd/user/cros-garcon.service.d/cros-garcon-override.conf
and add the line
After this change was performed close all Linux windows, log out and log back in. This step is needed to restart the Linux VM and to make the above changes effective.
Note 1: This change seems to be not needed anymore on ChromeOS 102 with the Bullseye based Linux environment.
Note 2: If eric crashes showing completion lists, this change should be applied in order to switch to use X11.
Installing eric7 is a simple process. There are various methods available. Please choose the one best suited to your needs and skills. eric7 must be used with Python 3, Qt6 and PyQt6.
It is recommended to install eric7 into a Python virtual environment in order to keep your Python distribution clean. In order to do that create it by entering the following command in the terminal window.
python3 -m venv eric7_env
Replace "eric7_env" with the desired path to the directory for the virtual environment. All further instructions will assume this environment name.
Enter the following command in the terminal window.
~/eric7_env/bin/python3 -m pip install --upgrade eric-ide
Once the installation is finished navigate to the executable directory of the Python virtual environment and execute the "eric7_post_install" script.
In order to get the most out of eric7 it is recommended to install the Qt Tools
Qt Designer or
Qt Linguist. The recommended way is this.
Qtconfiguration page of the eric7 configuration dialog.
eric7 provides an extension mechanism via plug-ins. The plug-ins are available via the Plugin Repository dialog from within eric7. Some plugins require the installation of additional python packages. This is done automatically during the plugin installation.