Skip to content
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 on pip install #13

Open
kmsherbert opened this issue Sep 13, 2021 · 0 comments
Open

UnicodeDecodeError on pip install #13

kmsherbert opened this issue Sep 13, 2021 · 0 comments
Assignees
Labels

Comments

@kmsherbert
Copy link

There is yet another Windows compatibility issue that I never would have noticed. Since June, your readme.md file has included a citation using Japanese (I guess?) characters. It turns out that this causes pip to crash on Windows when running setup.py, because for some unintelligible reason, Windows hasn't set their default encoding to unicode yet. I never would have noticed because pip was smart enough to keep trying older versions until it got to before the citation, in version 0.6.3.

I'm not in a position to test it, but I strongly believe changing your open() line in setup.py to explicitly set the encoding with the optional argument encoding="utf8" will resolve this particular problem. See the following link: https://stackoverflow.com/questions/9233027/unicodedecodeerror-charmap-codec-cant-decode-byte-x-in-position-y-character

@kzfm kzfm self-assigned this Jan 25, 2023
@kzfm kzfm added the bug label Jan 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants