Python Forum
Python 3.9/3.8 and pip installation under Windows
Thread Rating:
  • 3 Vote(s) - 4.67 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Python 3.9/3.8 and pip installation under Windows
#3
Python 3.7
Installasjon work the same 3.6.
But the Add Python 3.7 to Path did not overwrite the 3.6 Path,so i had to change Path manually to point to 3.7.
The setup look:
[Image: FNhk69.jpg]
pip is automatically marked on,do not utmark it.

Fixing Path if needed
For new user the Path to 3.7 should be okay.
Here how to change Environment Variables Path
[Image: GUgLry.jpg]

Check python and pip
Check that python and pip point to 3.7 from anywhere cmd/cmder.
C:\
λ python -V
Python 3.7.0

C:\
λ pip -V
pip 10.0.1 from c:\python37\lib\site-packages\pip (python 3.7)
python my_scrip.py will use Python 3.7.
pip install something will install to Python 3.7

Access other versions
All other version installed can be accessed by using py(this is a py.exe that get installed in Path of Windows)
C:\                                                                                                            
λ py -3.6 -V                                                                                                   
Python 3.6.4                                                        
                                                     
C:\                                                                                                            
λ py -2.7 -V                                                                                                   
Python 2.7.9                                                                                                   
                                                                                                               
C:\                                                                                                            
λ # Using pip to install to 2.7                                                                            
λ py -2.7 -m pip install logzero                                                                               
Requirement already satisfied: logzero in c:\python27\lib\site-packages 
Reply


Messages In This Thread
RE: [Part-1]Python 3.6 and pip installation under Windows - by snippsat - Jun-29-2018, 03:59 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020