Answers for "where is installed python"

4

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

Code answers related to "where is installed python"

Python Answers by Framework

Browse Popular Code Answers by Language