recentpopularlog in

kme : packagemanager   9

python - How can I install packages in my $HOME folder with pip? - Stack Overflow
While you can use a virtualenv, you don't need to. The trick is passing the PEP370 --user argument to the script. With the latest version of pip, one way to do it is:

pip install --user mercurial

This should result in the hg script being installed in $HOME/.local/bin/hg and the rest of the hg package in $HOME/.local/lib/pythonx.y/site-packages/.
python  localinstall  nonroot  installation  packagemanager  annoyance  solution 
june 2016 by kme

Copy this bookmark:

to read