You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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
The text was updated successfully, but these errors were encountered:
Hello,
When I try to install the package using the command:
I get an error:
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
The text was updated successfully, but these errors were encountered: