-
Notifications
You must be signed in to change notification settings - Fork 3k
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
pip list should not crash on a corrupted install #6283
Comments
This |
Problem is, it didn't tell me what directory caused the problem! Turns out, by inspection of site-packages I quickly saw a corrupted installation and removed it. |
Yes, that is the subject of the following issue and why I told you to list the contents of site-packages: Glad you were able to fix it. Can you tell us what the corruption was? |
Related to this issue, I filed a PR on setuptools' tracker to make the |
sorry, complete newb here, having the same error, how do i resolve? |
Related to pip's github issue pypa/pip#6194. This has come up in pip's issue tracker (github) multiple times: - pypa/pip#6177 - pypa/pip#6283 - pypa/pip#6194
Related to pip's github issue pypa/pip#6194. This has come up in pip's issue tracker (github) multiple times: - pypa/pip#6177 - pypa/pip#6283 - pypa/pip#6194
FYI, setuptools just made a release (40.9.0) where the ValueError exception message now includes the path to the specific directory causing the problem: pypa/setuptools#1706 (comment) |
I manually removed the
From the comments above, seems like providing the path of the missing/corrupt file would help debug this issue, and hence this issue can be closed |
Environment
Description
Expected behavior
How to Reproduce
Output
The text was updated successfully, but these errors were encountered: