Answers for "where is python installed?"

7

how to find where python is located

>>> import os
>>> import sys
>>> os.path.dirname(sys.executable)
'C:\Python25'
Posted by: Guest on May-28-2020
3

find python path windows

>>> import os
>>> import sys
>>> os.path.dirname(sys.executable)
'C:\Python25'
Posted by: Guest on December-09-2020
1

where are python libraries installed in windows

pip list -v  # Or pip3 list -v 

# output example (windows 10):
# Package                   Version   Location                                                         Installer
# ------------------------- --------- ---------------------------------------------------------------- ---------
# adal                      0.4.5     c:userstestappdataroamingpythonpython36site-packages      pip
# aiocache                  0.10.0    c:program filespython36libsite-packages
Posted by: Guest on January-09-2021
0

where are python libraries installed in windows

Python usually stores its library (and thereby your site-packages folder) 
in the installation directory. So, if you had installed Python to 
C:Python, the default library would reside in C:PythonLib 
and third-party modules should be stored in C:PythonLibsite-packages.
Posted by: Guest on January-09-2021

Code answers related to "where is python installed?"

Python Answers by Framework

Browse Popular Code Answers by Language