Is it possible? When installing pip
, install the python packages inside my $HOME
folder. (for example, I want to install mercurial
, using pip
, but inside $HOME
instead of /usr/local
)
I'm with a mac machine and just thought about this possibility, instead of "polluting" my /usr/local
, I would use my $HOME
instead.
PEP370 is exactly about this. Is just creating a ˜/.local
and do a pip install package
enough to make these packages to be installed only at my $HOME folder?
$ python setup.py --user install
. And it worked. Package is now installed at home subdir and all works as expected. Will have to talk to my server admin. – Jan Vlcinskywget https://bootstrap.pypa.io/get-pip.py
followed bypython get-pip.py
and you're good to go. Might be useful if you're on a machine where the installed PIP is too old (was the case for me). See pip.readthedocs.org/en/latest/installing.html for more info. – Markus