You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to switch to ubuntu-24.04 to get newer version of gcc and clang compilers, but unfortunately this GitHub runner has PEP 668 enabled.
This means pip can't install python packages system-wide anymore, and needs to setup a virtual environment in which the packages are downloaded and installed.
Here's the output of the fail:
> /usr/bin/sudo apt-get update
**runs fine**> /usr/bin/sudo apt-get install build-essential libgl1-mesa-dev libgstreamer-gl1.0-0 libpulse-dev libxcb-glx0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-render0 libxcb-shape0 libxcb-shm0 libxcb-sync1 libxcb-util1 libxcb-xfixes0 libxcb-xinerama0 libxcb1 libxkbcommon-dev libxkbcommon-x11-0 libxcb-xkb-dev libxcb-cursor0 -y
**runs fine**> /usr/bin/python3 -m pip install setuptools wheel py7zr==0.20.*
error: externally-managed-environment
× This environment is externally managed
╰─> To install Python packages system-wide, try apt install
python3-xyz, where xyz is the package you are trying to
install.
If you wish to install a non-Debian-packaged Python package,
create a virtual environment using python3 -m venv path/to/venv.
Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
sure you have python3-full installed.
If you wish to install a non-Debian packaged Python application,
it may be easiest to use pipx install xyz, which will manage a
virtual environment for you. Make sure you have pipx installed.
See /usr/share/doc/python3.12/README.venv for more information.
note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
hint: See PEP 668 for the detailed specification.
Error: Error: The process '/usr/bin/python3' failed with exit code 1
I'll try to downgrade the python version, but I believe this is linked to the ubuntu version and not python version.
So this action is basically broken on ubuntu-24.04 for now. 😢
The text was updated successfully, but these errors were encountered:
I tried to switch to
ubuntu-24.04
to get newer version ofgcc
andclang
compilers, but unfortunately this GitHub runner has PEP 668 enabled.This means pip can't install python packages system-wide anymore, and needs to setup a virtual environment in which the packages are downloaded and installed.
Here's the output of the fail:
I'll try to downgrade the python version, but I believe this is linked to the ubuntu version and not python version.
So this action is basically broken on
ubuntu-24.04
for now. 😢The text was updated successfully, but these errors were encountered: