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

Emoji problem in README.rst #6

Open
ahmadrr opened this issue Mar 9, 2022 · 0 comments
Open

Emoji problem in README.rst #6

ahmadrr opened this issue Mar 9, 2022 · 0 comments

Comments

@ahmadrr
Copy link

ahmadrr commented Mar 9, 2022

Installing package with pip on Windows threw error, same with compiling from source. I traced it and apparently UnicodeDecodeError: 'charmap' codec can't decode byte 0x8f in position 315: character maps to <undefined> was caused by the unicode emojis in README.rst, so I deleted them and it compiled successfully.

pip install selectmenu
Collecting selectmenu
Using cached SelectMenu-1.0.0b2.tar.gz (3.4 kB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [8 lines of output]
Traceback (most recent call last):
File "", line 2, in
File "", line 34, in
File "C:\Users\Ahmad\AppData\Local\Temp\pip-install-ga0xh4rq\selectmenu_3404e77b8e244ccaaf1055818cd07cef\setup.py", line 8, in
long_description = fp.read()
File "C:\Program Files\Python39\lib\encodings\cp1252.py", line 23, in decode
return codecs.charmap_decode(input,self.errors,decoding_table)[0]
UnicodeDecodeError: 'charmap' codec can't decode byte 0x8f in position 315: character maps to
[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.

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

No branches or pull requests

1 participant