New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IOError: [Errno 13] Permission denied: '/usr/local/bin/pip' #4186
Comments
You should add the |
Couldn't we add some helpful message for a user? E.g. something like: "if you don't have root permissions, use virtualenv instead?" E.g. in R-lang you get this:
that would definitely help a lot of beginners... |
Thanks. I like that. |
go to super user. after that run 'pip install -U pip' |
Closing as there is nothing we can do. |
add |
What will be the command by adding add --user? |
Also see: https://pip.pypa.io/en/stable/reference/pip_install/#cmdoption-user |
Thanks urllib3 installed successfully using pip. |
yes, --user works :) |
Still working! Thanks |
I have my python script which is retrieving url data and writing to file using below command . When I am running this script on my local machine, it works but running through jenkins gives me error 13. response = urllib.urlopen(url) Error displayed on jenkins - Any mastermind here to help me out |
@WV-no7 : please don't advise people to use |
the |
You should add the --user option to install without needing root permission. |
Description:
How can i solve the following problem:
I was trying to install autograd and scikit-learn, both through pip command. However, both installation failed, with the error
OSError: [Errno 13] Permission denied: '/usr/local/lib/python2.7/dist-packages/pip'
thus i guess these error may caused by pip, so i test pip with update command 'pip install -U pip ', it replied
IOError: [Errno 13] Permission denied: '/usr/local/bin/pip'
I guess pip on my machine is broken? Any advice is pretty appreciate, thanks.
What I've run:
The log of running command 'pip install -U pip' listed below:
The text was updated successfully, but these errors were encountered: