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

Issue with installation on Windows #1

Open
mk868 opened this issue Nov 1, 2018 · 0 comments
Open

Issue with installation on Windows #1

mk868 opened this issue Nov 1, 2018 · 0 comments

Comments

@mk868
Copy link

mk868 commented Nov 1, 2018

Hello,

When I try to install the package using the command:

python setup.py install

I get an error:

Traceback (most recent call last):
File "setup.py", line 21, in
long_description=read('README.rst'),
File "setup.py", line 12, in read
return open(os.path.join(os.path.dirname(file), filename)).read()
File "C:\Users\P50\AppData\Local\Programs\Python\Python37\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 0x98 in position 2133: character maps to undefined

image

I temporary fixed problem with installation by replaceing line:
return open(os.path.join(os.path.dirname(__file__), filename)).read()
to:
return open(os.path.join(os.path.dirname(__file__), filename), encoding="utf8").read()
inside setup.py

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