With something like this site_packages = pkg_resources.get_python_lib() I get the python global path of the site-packages directory, is there a way to get also the local one, which for example on Linux might be something like $HOME/.local/lib/site-packages ? Thanks, Andrea