Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to install #1

Closed
Jack-ee opened this issue Feb 13, 2022 · 4 comments
Closed

Failed to install #1

Jack-ee opened this issue Feb 13, 2022 · 4 comments
Labels
bug Something isn't working

Comments

@Jack-ee
Copy link

Jack-ee commented Feb 13, 2022

(xxx) C:\Users\Jkdell>pip install cnmaps
Collecting cnmaps
Using cached cnmaps-0.1.10.tar.gz (2.3 MB)
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 "", line 2, in
File "", line 34, in
File "C:\Users\Jkdell\AppData\Local\Temp\pip-install-9qi40z8x\cnmaps_4a8842083b524713a538b30839062a41\setup.py", line 7, in
long_description = fh.read()
UnicodeDecodeError: 'gbk' codec can't decode byte 0xaa in position 17: 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.

@Clarmy Clarmy added the bug Something isn't working label Feb 13, 2022
@Clarmy
Copy link
Member

Clarmy commented Feb 13, 2022

你好 @Jack-ee ,从报错信息来看,是由于你使用的是基于gbk中文编码的Windows系统,导致安装的时候解码README文件(UTF-8编码)失败,这个问题记下了,我后面会进行一些兼容性修复。

@Clarmy Clarmy mentioned this issue Feb 13, 2022
Merged
@Clarmy
Copy link
Member

Clarmy commented Feb 14, 2022

@Jack-ee Hello, Jack. I released a new version of 0.1.11 for pypi yesterday, can you try to install again with pip install -U cnmaps ?

@Jack-ee
Copy link
Author

Jack-ee commented Feb 14, 2022 via email

@Clarmy
Copy link
Member

Clarmy commented Feb 14, 2022

@Jack-ee 好的,收到。

@Clarmy Clarmy closed this as completed Feb 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants