I'm ssh
ing into a Linux server as a user. Somehow, the server has Python 2.7.5 installed but doesn't respond to which pip
.
So I tried to install pip using get-pip.py according to pip docs. The default install option seemed problematic:
$ python get-pip.py
OSError: [Errno 13] Permission denied: '/usr/lib/python2.7/site-packages/pip'
So I tried:
$ python get-pip.py --user
Collecting pip
Using cached pip-9.0.1-py2.py3-none-any.whl
Collecting setuptools
Using cached setuptools-28.8.0-py2.py3-none-any.whl
Collecting wheel
Using cached wheel-0.29.0-py2.py3-none-any.whl
Installing collected packages: pip, setuptools, wheel
Successfully installed pip-9.0.1 setuptools-28.8.0 wheel-0.29.0
But which pip
still produces no pip in ...(my PATH)
. Where was it installed, can someone make a guess?