## 13 No module named pip: answer is python3 -m ensurepip # Case A: Ubuntu 24.04 system Python 3.12 $ python3.12 -m ensurepip ensurepip is disabled in Debian/Ubuntu for the system python. Python modules for the system python are usually handled by dpkg and apt-get. # Case B: a virtual environment created without pip $ v/bin/python -m pip --version /tmp/tfs/p13/v/bin/python: No module named pip $ v/bin/python -m ensurepip Successfully installed pip-24.0 pip 24.0