Skip to content

Install of romkan 0.2.1 fails #14

@BarnabasSzabolcs

Description

@BarnabasSzabolcs

pip install romkan failed in windows 10 with python 3.9.6 with the following error message:

README = open(os.path.join(here, 'README.rst')).read()
       File "C:\Python396\lib\encodings\cp1250.py", line 23, in decode
         return codecs.charmap_decode(input,self.errors,decoding_table)[0]
     UnicodeDecodeError: 'charmap' codec can't decode byte 0x83 in position 182

I could overcome this issue by setting PYTHONUTF8=1 environment variable.
(In the code, encoding="utf-8" should be added to open().)

Also, there was a deprecation notice:
DeprecationWarning: the imp module is deprecated in favour of importlib

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions