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
Check directory permissions before download: pip install #6762
Comments
I would be happy to write this feature as my first contribution to pip. New to python and curious if there's something naive about this enhancement proposal, I'll check out the code tonight. |
Hello @tfolbrecht feel free to submit a PR :) |
Some considerations:
|
Thank you all so much for the help. |
What's the problem this feature will solve?
Taking a long time to fail due to collection and downloading a package when
pip install
is targeting a directory the user doesn't have permissions to write to.Describe the solution you'd like
Before pip begins collecting a package, check if the user running pip has permission to write to the target directory.
The text was updated successfully, but these errors were encountered: