carpedm20 / emoji

emoji terminal output for Python
Other
1.87k stars 273 forks source link

issues with some emoji #255

Closed lsmith77 closed 1 year ago

lsmith77 commented 1 year ago

I noticed that some disability related emoji do not seem to be available

emoji.emojize(":person_in_motorized_wheelchair:", use_aliases=True)
emoji.emojize(":person_with_probing_cane:", use_aliases=True)
cvzi commented 1 year ago

I think you are using an old version of the module. The current version on pypi.org 2.2.0 has them, update with python -m pip install --upgrade emoji==2.2.0

You need to use language="alias" parameter now:

emoji.emojize(":person_in_motorized_wheelchair:", language="alias")
emoji.emojize(":person_with_probing_cane:", language="alias")
lsmith77 commented 1 year ago

@cvzi ah indeed .. the issue is spacymoji requiring 1.0. will try to get them to support newer versions