Skip to content

Emoji problem in README.rst #6

Open
@ahmadrr

Description

@ahmadrr

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions