Python Forum
Where does pip auto install on Win10 with py 3.9.4?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Where does pip auto install on Win10 with py 3.9.4?
#5
(May-05-2021, 03:13 PM)Fran_3 Wrote: Snippsat sugested doing this...
# Show root path
C:\>python -c "import sys; print(sys.executable)"
C:\python39\python.exe
BUT I'd like to know what these commands do before I run them.
It's just a way to run this,but do it from command line.
Here as a normal Python scripts.
import sys

print(sys.executable)
Output:
C:\Python39\python.exe
So it give root path to python.
pip.exe will be in Script folder.
C:\Python39\Scripts\pip.exe
So then for me this to paths shall be in environment variables Path.
C:\Python39\
C:\Python39\Scripts\
For what you post,your environment variables Path should be.
C:\Users\User-01\AppData\Local\Programs\Python\
C:\Users\User-01\AppData\Local\Programs\Python\Scripts\
Restart Pc and test again pip -V.
Reply


Messages In This Thread
RE: Where does pip auto install on Win10 with py 3.9.4? - by snippsat - May-05-2021, 03:47 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Compiling on win10 ebolisa 1 1,763 Sep-04-2020, 04:39 PM
Last Post: ebolisa
  Error building wheel for grpcio on win10 Topiii 1 5,231 Nov-13-2019, 03:08 PM
Last Post: snippsat
  Development Server Problem (Win10) SMY1 0 1,959 Apr-26-2019, 06:25 PM
Last Post: SMY1
  win10 Service(script) start and stop hwa_rang098tkd 0 2,468 Jun-21-2018, 07:42 PM
Last Post: hwa_rang098tkd
  Win10 Import math issue Oldsquid 2 3,088 May-12-2018, 11:08 AM
Last Post: Oldsquid
  Load spatialite in Python 3.6 on Win10 failed RTFirefly 1 5,403 Feb-19-2018, 09:59 PM
Last Post: RTFirefly
  Can't get .py to run on Win10 command line jonesin1974 3 4,673 Nov-08-2017, 04:25 AM
Last Post: jonesin1974

Forum Jump:

User Panel Messages

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