-
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
Error upgrading from 19.0.3 to 19.1.1 on Win 10 #6546
Comments
I just filed an issue on distlib's tracker to see if distlib can be doing something on their end to improve the error that callers see (to make it easier to troubleshoot, etc): https://bitbucket.org/pypa/distlib/issues/123/attributeerror-nonetype-object-has-no |
Some good news is that distlib's author (Vinay Sajip) just pushed a change to distlib in response to the above issue I filed (in one day, wow!) that improves the exception in this case. The new exception will look something like this-- ValueError(
'Unable to find resource %s in package %s' % (name, distlib_package)
) So once distlib releases a new version and pip updates its vendored distlib to that version, there will be more information for people to go on the next time this happens.. |
Distlib has released 0.3.0 in October 2019. pip started vendoring it since 20.0. Closing since the issue would not be present in the latest pip version. Please report a separate issue if you see a similar exception in pip 20.0 or later. |
Environment
Description
I have tried upgrading pip through at least two different approaches, but get the same result. The commands I've tried are:
python -m pip install --upgrade pip
and
python -m pip install -U --force-reinstall pip
Expected behavior
Pip upgrades
Output
The text was updated successfully, but these errors were encountered: