Why is the pip version of the environment created by PyCharm with virtualenv different from the global version?

pip has been upgraded to version 10 in the global version;

in the virtual environment created by manually entering Virtualenv venv, in the command window, the pip version is 10;

when you create a new project using PyCharm, you create a virtual environment using Virtualenv by default. The version of pip in the virtual environment created is 9.

Why is this?

Mar.11,2021

if you use python2 or python3 to create Virtualenv,python3, you can see what version of your global pip3 is, or


check whether the command line python interpreter is consistent with PyCharm Virtual Env's python interpreter.

Menu