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?
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.
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.
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
for python 3.X default location C:\Users\username \AppData\Local\Programs\Python\Python36\Lib\site-packages
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With