As of 2020, I do not think it is a good idea to install Python packages into .local
, but to use virtualenv
to create a separate environment for each package.
My reason
While installations into .local
do not interfere with the system wide Python, you still can have conflicts between several packages installed into .local
.
P.S.: If you do you like virtualenv
you could also use pipx
.