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

Get error when trying with Windows 10: #11

Closed
chaeunl opened this issue Sep 22, 2020 · 2 comments
Closed

Get error when trying with Windows 10: #11

chaeunl opened this issue Sep 22, 2020 · 2 comments
Labels
bug Something isn't working

Comments

@chaeunl
Copy link

chaeunl commented Sep 22, 2020

with open(version_path) as version_file:

I got an error message "UnicodeDecodeError: 'cp949' codec can't decode byte 0xe2 in position 3855: illegal multibyte sequence." This case is solved by adding encoding="UTF-8" when opening file.
(i.e., open(version_path, encoding="UTF8"))

Same as issues occurred at line#37.

@diego-plan9 diego-plan9 added the bug Something isn't working label Sep 22, 2020
@diego-plan9
Copy link
Member

Thanks for reporting and for the suggestion @chaeunl ! Please note that at the moment we don't fully support Windows builds, and it will likely require some changes to the cmake files in order to compile correctly - full Windows support is on the pipeline, though (I have opened #12 for easier keeping track of the progress).

@diego-plan9
Copy link
Member

Addressed the encoding issue via #13. For reference and for users that might not be using the latest master branch, using the PYTHONUTF8 environment variable for setting the locale might be a user-side alternative in similar cases - again, thanks @chaeunl !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants