#remove the venv you created first rm -rf venv #Install the venv package for your version (here python3.9) sudo apt install python3.9-venv #recreate the venv python3 -m venv ./venv