fix UnicodeDecodeError bug during installing it on windows platform.#23
Open
thomas-young-2013 wants to merge 1 commit into
Open
fix UnicodeDecodeError bug during installing it on windows platform.#23thomas-young-2013 wants to merge 1 commit into
thomas-young-2013 wants to merge 1 commit into
Conversation
|
I have the same issue when I tried to install 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 You can see this option by going to Settings and then: All Settings -> Time & Language -> Language -> "Administrative Language Settings" or run |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

If possible, please publish this version to pypi assp. thanks a lot!