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
The 'README.md' is in UTF-8 encoding and to get around this I believe
changing with open('README.md', 'r') as readme:
to with open('README.md', mode='r', encoding='utf8') as readme:
should fix the issue
Full stack of error
Processing c:\bld\synthetic-data_1673701478775\work
Added file:///C:/bld/synthetic-data_1673701478775/work to build tracker 'C:\\Users\\VssAdministrator\\AppData\\Local\\Temp\\pip-build-tracker-iyx3w6k1'
Running setup.py (path:%SRC_DIR%\setup.py) egg_info for package from file:///C:/bld/synthetic-data_1673701478775/work
Created temporary directory: C:\Users\VssAdministrator\AppData\Local\Temp\pip-pip-egg-info-0toyit36
Preparing metadata (setup.py): started
Running command python setup.py egg_info
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "C:\bld\synthetic-data_1673701478775\work\setup.py", line 28, in <module>
long_description = readme.read()
^^^^^^^^^^^^^
File "C:\bld\synthetic-data_1673701478775\_h_env\Lib\encodings\cp1252.py", line 23, in decode
return codecs.charmap_decode(input,self.errors,decoding_table)[0]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
UnicodeDecodeError: 'charmap' codec can't decode byte 0x9d in position 4882: character maps to <undefined>
error: subprocess-exited-with-error
python setup.py egg_info did not run successfully.
exit code: 1
The text was updated successfully, but these errors were encountered:
While running setup.py on windows I ran into an error
https://stackoverflow.com/questions/9233027/unicodedecodeerror-charmap-codec-cant-decode-byte-x-in-position-y-character
caused by
synthetic-data/setup.py
Line 27 in 0961953
The 'README.md' is in UTF-8 encoding and to get around this I believe
changing
with open('README.md', 'r') as readme:
to
with open('README.md', mode='r', encoding='utf8') as readme:
should fix the issue
Full stack of error
The text was updated successfully, but these errors were encountered: