-
Notifications
You must be signed in to change notification settings - Fork 231
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
Installation can fail in Python3 in Windows due to UnicodeDecodeError #112
Comments
Bump. |
@IceflowRE What are you expecting me to do? As far as I can see this was advising me that due to an issue with |
Maybe implement the workaround as long as pip10 is not released? And if its an issue you cant do something (or dont want) close it with an comment, because without commenting it looks like you dont care. |
If a workaround is possible, that would be great. I didn't submit the issue asking for a fix, but more like as information for users, trying to contribute with a possible workaround. So, until pip 10 is released, this is an open issue for wrapt users, and it shouldn't be closed, IMHO. |
Thank you for the information and workaround, it did help me. |
I also meet this issue. |
To solve this, change you code page to 866 chcp 866 |
Please. need patch there! :) have fresh python install 3.6.3 on my windows 10 and got the same error trying to use pylint plugin on IDE visual code , editor try to autoinstall on my new virtualenv pylint using python.exe for env
and then...
SOLVEDty to : @GrahamDumpleton , @esabouraud Just was a problem with symlinks from combination of windows10+gitSCM tools , just open Git Bash prompt and install it ! |
@netzulo From what I understand of this issue, it is ultimately a problem in |
I did fresh installs of python 3.6.3 on Windows 7 and Windows 10, and had this issue occur only on Windows 10. Changing the codepage with chcp did not solve the issue for me. However running pip from "Git Bash" as @9468305 suggested did the trick. |
@GrahamDumpleton thank you for your answer, im on it yet SOLVEDEdited report 3 comments UP |
Thank you for this post and workaround! Changing the code page did the trick for me. |
Faced the same problems during months. |
Hey there! A pip maintainer here. This isn't exactly a pip issue but there's a patch that works around this in pip 10 which is in beta right now. If you wanna try it out, you can install pip 10 using get-pip.py or via |
Hi @pradyunsg Any news on this? I have to disagree :), I think that yes, it is a pip issue. While it is installing a python package with native extension, if the compiler building the extension outputs some message with localized characters, pip is completely aborting installation. And that package won't install correctly, because pip is not resilient to encoding errors in an output that is irrelevant for the pip functioning. It would be great if pip 10 was out of beta and become mainstream, any roadmap for this? Thanks! |
Oh, I was under impression that newer version of pip that addressed this had come out, so hadn't given it priority. Been snowed under with some work, but will try and get onto it. |
Oh, my bad, I have just checked my recent py3.6 and it comes with pip 10 now by default, I hadn't realize it. This is good news! Sorry for the noise. |
It's been out of beta since mid-April. We're actually a few days away from our next release. :) |
Should be addressed by 7bd955d |
Closing this issue as assumed fix some time back in |
Will fail in Windows using a Visual Studio in some languages, because it will try to output some accented characters, and pip will fail with
UnicodeDecodeError
to decode them properly, and wrapt will not be properly installed.The failure is in
pip/compat/__init__.py
file:I have just workarounded it with:
It seems this will be improved in pip 10 (not yet released): pypa/pip#4110 (comment)
The text was updated successfully, but these errors were encountered: