I'm trying to install pip (python installer) to my username since I don't have root privileges and can't just sudo apt-get install python-pip
.
So what I've done is just easy_install --user pip
. That installs it to .local/bin
apparently but then when I call it like so:
pip install --user astropy
It says that pip is not currently installed.
I have limited knowledge of linux and of the system I'm using (NX connection to a machine at my university). I know I should be able to do this!
easy_install
is not available, you can installpip
to local withwget https://raw.github.com/pypa/pip/master/contrib/get-pip.py && python get-pip.py --user
– JorgeGT Nov 02 '14 at 18:51wget https://bootstrap.pypa.io/get-pip.py && python get-pip.py --user
– qed Nov 22 '16 at 11:49--user
when runningpython get-pip.py --user
? – m81 Jan 26 '17 at 18:26wget
:curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
– blueFast Apr 04 '18 at 06:33Ruby Version Manager
andGemsets
where you can both install packages to the global namespace of theRVM
or to specificGemsets
such that it allows you for example to make use of multiple version combinations of packages etc. in the gemsets... When Python, despite an active... – von spotz Feb 10 '23 at 12:56~/.local/bin
then this is very comparable to the@global
namespace of theruby version manager
and hence it breaks any intention to have separate sets of plugins and separate sets of versions maybe of those sets. Asked differently: How do I force pip to only install into the activated virtual environment folder and not into~/.local/bin
? Thanks – von spotz Feb 10 '23 at 13:00