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

Installing IBA on Win10 throws codec error #46

Open
Scaramir opened this issue Mar 8, 2022 · 0 comments
Open

Installing IBA on Win10 throws codec error #46

Scaramir opened this issue Mar 8, 2022 · 0 comments

Comments

@Scaramir
Copy link

Scaramir commented Mar 8, 2022

When installing the package on a windows system I get the following error:

Traceback (most recent call last):
      [...]
      File "setup.py", line 12, in <module>
        long_description=open("README.md").read(),
    [...]  
    UnicodeDecodeError: 'charmap' codec can't decode byte 0x9d in position 5249: character maps to <undefined>

So line 12 of setup.py should state the expected enconding:
long_description=open("README.md", 'r', encoding='utf8').read(),.
Otherwise, Win10 expects 1252 encoding.

I simply changed that one line after cloning the repo and installed it as suggested to make it work.
Hence the standard character encoding on linux is in UTF8, it should work on these systems too, even though I am not sure, if this solution is generally correct.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant