Go to
When in folder it will use what's in folder and not what set in Windows environment Path.
I do of course not have 2.7 as main version in Path.
If go to any other folder i will use Python 3.8.
Scripts
folder in cmd and test if it's environment Path problem.When in folder it will use what's in folder and not what set in Windows environment Path.
C:\Users\Tom>cd\ C:\>cd Python27 C:\Python27>cd scripts C:\Python27\Scripts>pip --version pip 18.1 from c:\python27\lib\site-packages\pip (python 2.7) C:\Python27\Scripts>So Script folder is placement of
pip.exe
.I do of course not have 2.7 as main version in Path.
If go to any other folder i will use Python 3.8.
C:\Python27\Scripts>cd .. C:\Python27>cd .. C:\>pip --version pip 20.2.3 from c:\python38\lib\site-packages\pip (python 3.8) C:\>python --version Python 3.8.3Also if have python 3.8 installed then can use
py
(new in Python 3.3 -->),to access all version from Python.org.# Use py C:\>py -2.7 --version Python 2.7.9 # Use pip from py C:\>py -2.7 -m pip install logzero Requirement already satisfied: colorama; sys_platform == "win32" in c:\python27\ lib\site-packages (from logzero) (0.3.2)