Skip to content

Installing IBA on Win10 throws codec error #46

@Scaramir

Description

@Scaramir

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions