How to get “python -m venv” to directly install latest pip version
问题 As part of the compilation step for a new python version, I fetch and run get-pip.py, to have the latest pip installed next to the python executable: $ /opt/python/3.7.0/bin/python --version Python 3.7.0 $ /opt/python/3.7.0/bin/pip --version pip 18.0 from /opt/python/3.7.0/lib/python3.7/site-packages/pip (python 3.7) I have 25 such versions under /opt/python , although I mostly use the five latest versions of each major.minor version that is not EOL. To setup an invironment I used to run