For VS code pip installation, check the correct path for installation at python interpreter.
Before choosing the right path, create virtual environment for the project folder.
After creating virtual environment, now select the right path for your python interpreter where your python.exe is located.
Restart the vs code, run python -m pip --version.
happy coding!