I am trying to install python package, but when I try it tells me I need a new version of setup tools. I try to install setup tools following the python software instructions which say to use the curl command. When I do this it gives the error that I don't have permission to install in the directory. How can I use the curl command as a sudo user? I have tried several different ways. I have tried sudo easy_install
and then the url, and also sudo curl
url..
This is the right way to use curl and sudo. use sudo after the pipe
curl | sudo
e.g
curl https://www.opscode.com/chef/install.sh | sudo bash
this might help
curl https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py | sudo python