dustinkirkland / python-petname

Apache License 2.0
39 stars 11 forks source link

install error ,UnicodeDecodeError: 'gbk' codec can't decode byte 0x92 in position 34: illegal multibyte sequence #15

Open mari1995 opened 8 months ago

mari1995 commented 8 months ago

error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [6 lines of output] Traceback (most recent call last): File "", line 2, in File "", line 34, in File "C:\Users\Administrator\AppData\Local\Temp\pip-install-42tba8cl\petname_f1e18b16d48d410b900a9f6277c7d5b2\setup.py", line 23, in long_description = fh.read()

liqiujiong commented 3 months ago

same question Python 3.10.9 (tags/v3.10.9:1dd9be6, Dec 6 2022, 20:01:21) [MSC v.1934 64 bit (AMD64)] on win32 pip 24.1.2 solve it: ''' set PYTHONUTF8=1 pip install -r requirements.txt '''