I would like to install some packages into a third-party site-packages
directory (beyond the standard system locations). Is there any way to set this up such th
There was PEP 370 specifically addressing the creation of per-user site-packages
directories, to deal with the situation where the user has no admin access to the system-wide site-packages
.
For example on Unix (including Mac OS), and assuming one is using Python 3.6, one can create the following directory and place .pth
files inside there
~/.local/lib/python3.6/site-packages