-
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
UnicodeDecodeError When trying to install something with pip2 #2903
Comments
This looks like a duplicate of #2501. It appears to be a bug in the lockfile module which pip vendors in. Could you raise a bug against the pylockfile project, and we'll vendor in a new version when they fix it. |
If someone got the same error - i have described way to solve it in #2501 |
@Andrej730 should this still be an open issue for pip? |
I got the same error in Python2.7.13 on Windows 10 with my username setting to Chinese, and the problem is solved with following coding adding to site-packages\pip_vendor\lockfile\__init__.py right after all other import lines.( code are copied from stackoverflow and some small edit)
But some packages depends on Microsoft Visual C++ compilers still failed with encoding problem, so I do the same to the file site-packages\setuptools\msvc.py and it worked ! If problems are not solved with the trick above, maybe you can try this. |
@pradyunsg I don't think so. As I noted, it's a problem in the lockfile module that needs to be reported to them. There's no indication that I can see that anyone ever did (although there's even a suggested patch noted in the discussion here 😢). |
@pfmoore |
Probably. I've no feel for how easy that will be to do. |
#4766. :) |
Is this still valid as #7023 has already been merged? If not, then I think it can be closed :) |
Maybe? I’ll add an awaiting response label and let the bot close it automatically if no-one raises any objections. Please feel free to respond if the problem still exists. |
This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further. |
This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further. |
Crash happening on this join at site-packages\pip_vendor\lockfile__init__.py:
hostname, tname, pid, path before crash:
The text was updated successfully, but these errors were encountered: