Skip to content
This repository has been archived by the owner on Oct 3, 2021. It is now read-only.

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

Open
FENRlR opened this issue Jun 7, 2021 · 0 comments

Comments

@FENRlR
Copy link

FENRlR commented Jun 7, 2021

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):

  • OS: Windows 10, Korean locale

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 #4.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant