Where does PIP Store / Save Python 3 Modules / Packages on Windows 8?

Where does PIP Store / Save Python 3 Modules / Packages on Windows 8?

Use this command to list global packages with their locations:

pip 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                      pip

When using virtual environment the local packages is located in project folder:

<project folder>venvLibsite-packages

for python 3.X default location C:Usersusername AppDataLocalProgramsPythonPython36Libsite-packages

Where does PIP Store / Save Python 3 Modules / Packages on Windows 8?

From the docs

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.

Leave a Reply

Your email address will not be published.