I have globally installed pip 21.2.4, but each time that I create a Virtual Environment an install a module I get the following warning:
WARNING: You are using pip version 21.1.3; however, version 21.2.4 is available.
Then I update the pip version in the Virtual Environment as follow:
$ pip3 install --upgrade pip==21.2.4
But this change is only for this Virtual Environment and I have to repeat the same process each time I create a new Virtual Environment.
How could I do for all new Virtual Environments created used the latest pip version as I have globally?
python3 -V)? Assuming it is a recent enough version of Python (3.9+), you should be able to use the following commandpython3 -m venv --upgrade-deps postgres-workspace, this will create a virtual environment as usual then update both pip and setuptools in that environment. But you need to use the flag for each creation.