Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

python

pip

I have looked everywhere and can't find where the packages are installed.

Further, are the packages from pip, modules, libraries or just packages in python terminology?

like image 282
Startec Avatar asked Aug 27 '14 08:08

Startec


People also ask

Where are python3 packages installed?

When a package is installed globally, it's made available to all users that log into the system. Typically, that means Python and all packages will get installed to a directory under /usr/local/bin/ for a Unix-based system, or \Program Files\ for Windows.

Where are Python pip modules stored?

Usually in /lib/site-packages in your Python folder. (At least, on Windows.) You can use sys. path to find out what directories are searched for modules.


2 Answers

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:\users\test\appdata\roaming\python\python36\site-packages      pip # aiocache                  0.10.0    c:\program files\python36\lib\site-packages                      pip 

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

<project folder>\venv\Lib\site-packages 
like image 137
vladimir Avatar answered Oct 10 '22 02:10

vladimir


for python 3.X default location C:\Users\username \AppData\Local\Programs\Python\Python36\Lib\site-packages

like image 43
MD5 Avatar answered Oct 10 '22 01:10

MD5