Skip to content

Give a friendly error message when we don't have file permissions to install #1811

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

Closed
Ivoz opened this issue May 10, 2014 · 1 comment
Closed
Labels
auto-locked Outdated issues that have been locked by automation

Comments

@Ivoz
Copy link
Contributor

Ivoz commented May 10, 2014

Rather than something spewing out a traceback ending in something like

  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/os.py", line 157, in makedirs
    mkdir(name, mode)
OSError: [Errno 13] Permission denied: '/Library/Python/2.7/site-packages/pip'

We should test if we can install things first, and then attempt to give some advice.

We could check for permissions to site-packages at least; and we have full control of this for wheels.

@Ivoz Ivoz changed the title Give a friendly error message when we don't file permissions to install Give a friendly error message when we don't have file permissions to install May 10, 2014
@qwcode
Copy link
Contributor

qwcode commented May 10, 2014

closing as dupe to #1048 : )

@qwcode qwcode closed this as completed May 10, 2014
@lock lock bot added the auto-locked Outdated issues that have been locked by automation label Jun 5, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Jun 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
auto-locked Outdated issues that have been locked by automation
Projects
None yet
Development

No branches or pull requests

2 participants