-
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 19.0.3 -> 19.2.3 fails with AttributeError: 'NoneType' object has no attribute 'bytes' #7069
Comments
See also #6546 which seems to have a similar traceback. |
You can have different pip version already installed, on cmd type |
|
|
@DobroAlex, actually easy_install was hack and pip is working perfectly fine, it's just that you need to do it right way, the problem above according to me is that you are updating different pip from pip, it's kind of confusing, but it is the case. When I checked what is path of the pip I was using, it was different from the correct, actually in my case there were two pips, one was original and other was created at the location where all the cache files for pip were found and the "pip" command I was using had path which was in cache and which cannot be updated, I don't know how it was created but it was and then I changed the path of pip and run the command for upgrading pip, it's works smoothly. |
Solved. The problem was that there was old pip installed in Roam Data (don't know how exactly did it get there) and it was causing issues because it was not properly installed. The solution is to find there your pip is (thanks to @vipul02 #7069 (comment)) and erase everything pip-related there. Next step is to download pip properly (I used curl and my python 3.7 location in C:\Program Files\Python37) and then install it. That's pretty much it |
I uesd ithis command " easy_install -U pip " |
"easy_install -U pip" works! |
Environment
Description
Error occurs during upgrade.
Expected behavior
pip installs without error.
How to Reproduce
Output
I also tried using solution from #5820 (comment)
The text was updated successfully, but these errors were encountered: