Python packages location

Posted on Friday April 7th, 2017

Here's a quick way to find out where python looks for its packages - by checking the relevant path settings via python itself:

>>> import site
>>> site.getsitepackages()
['/usr/lib/python3.6/site-packages']