fix: add python3-venv package for virtual environment support #31
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix-python3-venv"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
The
python3 -m venvcommand used to install bloc was failing because thepython3-venvpackage was not installed.Root Cause
Previous attempts missed the fundamental issue: On Debian/Ubuntu systems, the venv module is not included in the base
python3package — it requires a separatepython3-venvpackage.The three previous approaches failed because:
uv tool installbut didn't address venvSolution
Added
python3-venvto the initial apt-get install alongsidepython3andpython3-pip.This is the correct fix because:
Testing
The error message was explicit:
ensurepip is not available. On Debian/Ubuntu systems, you need to install the python3-venv package.This directly resolves that requirement.
Fixes #30