I\'m trying to install pip on a Mac (OS X Lion). It doesn\'t seem to work. I use sudo and prompted for password.
$ sudo curl https://raw.github.com/pypa/pip/
You are running the curl
(download) command under sudo
, but the python process itself is running without elevated privileges.
Run it like this instead:
$ curl -O https://raw.github.com/pypa/pip/master/contrib/get-pip.py
$ sudo python get-pip.py
Alternatively, use the sudo
command on the python
part of the pipe instead:
$ curl https://raw.github.com/pypa/pip/master/contrib/get-pip.py | sudo python