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
{{ message }}
Repository navigation
Python /opt/python-3.x/ installations missing standard library modules #29
The Python installations in /opt/python-3.x/ on the ubuntu-24.04-riscv runner are missing standard library modules such as math. Attempting to use them as the base interpreter for venv creation fails:
ModuleNotFoundError: No module named 'math'
Additionally, ensurepip is broken even with the system Python (python3.12 from Ubuntu 24.04). After apt-get install python3-venv python3-pip, python3 -m venv /tmp/test still fails with an ensurepip error.
Steps to reproduce
On an ubuntu-24.04-riscv runner, run:
/opt/python-3.12/bin/python3 -m venv /tmp/test
Observe: ModuleNotFoundError: No module named 'math'
Activity
Fix python3 venv setup
Fix python3 venv setup
Fix python3 venv setup