kzfm/pygamess

UnicodeDecodeError on pip install

Opened this issue · 0 comments

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