Open thomas-young-2013 opened 3 years ago
I have the same issue when I tried to install chepy
.
C:\Users\Liu.D.H>python -V
Python 3.10.2
C:\Users\Liu.D.H>pip -V
pip 22.2.2 from C:\Users\Liu.D.H\AppData\Local\Programs\Python\Python310\lib\site-packages\pip (python 3.10)
C:\Users\Liu.D.H>ver
Microsoft Windows [Version 10.0.22621.608]
C:\Users\Liu.D.H>
C:\Users\Liu.D.H>pip install chepy
Collecting chepy
Using cached chepy-5.0.0.tar.gz (60 kB)
Preparing metadata (setup.py) ... done
Collecting base58
Using cached base58-2.1.1-py3-none-any.whl (5.6 kB)
Requirement already satisfied: colorama in c:\users\liu.d.h\appdata\local\programs\python\python310\lib\site-packages (from chepy) (0.4.4)
Collecting crccheck
Using cached crccheck-1.2.0-py3-none-any.whl (24 kB)
Requirement already satisfied: decorator in c:\users\liu.d.h\appdata\local\programs\python\python310\lib\site-packages (from chepy) (5.1.1)
Collecting docstring-parser
Using cached docstring_parser-0.15-py3-none-any.whl (36 kB)
Collecting emoji==2.0.0
Using cached emoji-2.0.0.tar.gz (197 kB)
Preparing metadata (setup.py) ... done
Collecting exrex
Using cached exrex-0.10.5.tar.gz (4.8 kB)
Preparing metadata (setup.py) ... done
Requirement already satisfied: fire==0.4.0 in c:\users\liu.d.h\appdata\local\programs\python\python310\lib\site-packages (from chepy) (0.4.0)
Collecting lazy-import
Using cached lazy_import-0.2.2.tar.gz (15 kB)
Preparing metadata (setup.py) ... error
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 "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "C:\Users\Liu.D.H\AppData\Local\Temp\pip-install-4lncow4j\lazy-import_22e3bc4ecffb47fcac96bc77008b9238\setup.py", line 6, in <module>
readme = infile.read()
UnicodeDecodeError: 'gbk' codec can't decode byte 0xa5 in position 623: illegal multibyte sequence
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
C:\Users\Liu.D.H>
I found an temporary workaround when installation. Just check Beta: Use Unicode UTF-8 for worldwide language support
. No reboot needed!
You can see this option by going to Settings and then: All Settings -> Time & Language -> Language -> "Administrative Language Settings" or run control intl.cpl,,1
.
If possible, please publish this version to pypi assp. thanks a lot!