rish-16 / gpt2client

✍🏻 gpt2-client: Easy-to-use TensorFlow Wrapper for GPT-2 117M, 345M, 774M, and 1.5B Transformer Models 🤖 📝
MIT License
372 stars 74 forks source link

UnicodeDecodeError: 'cp949' codec can't decode byte 0xe2 in position 994: illegal multibyte sequence #43

Open FENRlR opened 3 years ago

FENRlR commented 3 years ago

Describe the bug

ERROR: Command errored out with exit status 1:
 command: 'c:\users\user\desktop\sandbox\python\maxpy\venv\scripts\python.exe' -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\user\AppData\\Local\\Temp\\pip-install-fdgen5p8\\gpt2-client_97

033f7ffe264c9b9720da041039c967\setup.py'"'"'; file='"'"'C:\Users\user\AppData\Local\Temp\pip-install-fdgen5p8\gpt2-client_97033f7ffe264c9b9720da041039c967\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)( file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\user\AppData\Local\Temp\pip-pip-egg-info-mc41b4v2' cwd: C:\Users\user\AppData\Local\Temp\pip-install-fdgen5p8\gpt2-client_97033f7ffe264c9b9720da041039c967\ Complete output (5 lines): Traceback (most recent call last): File "", line 1, in File "C:\Users\user\AppData\Local\Temp\pip-install-fdgen5p8\gpt2-client_97033f7ffe264c9b9720da041039c967\setup.py", line 7, in long_description = f.read() UnicodeDecodeError: 'cp949' codec can't decode byte 0xe2 in position 994: illegal multibyte sequence

To Reproduce pip install gpt2-client

Desktop (please complete the following information):

Additional context Version 2.0.0 was installed after kicking out all the other higher versions with that error. pip install --upgrade --force-reinstall gpt2-client did not bypass this. It seems pretty much similar to https://github.com/rish-16/gpt2client/issues/4.