I've tried to import this library, but that fails for the environment that I"m using:
❯ poetry run python
Python 3.9.19 (main, Apr 17 2024, 00:00:00)
[GCC 14.0.1 20240411 (Red Hat 14.0.1-0)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import pilmoji
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/mu/.cache/pypoetry/virtualenvs/geo-activity-playground-cM-Vn1fX-py3.9/lib/python3.9/site-packages/pilmoji/__init__.py", line 1, in <module>
from . import helpers, source
File "/home/mu/.cache/pypoetry/virtualenvs/geo-activity-playground-cM-Vn1fX-py3.9/lib/python3.9/site-packages/pilmoji/helpers.py", line 18, in <module>
language_pack: Dict[str, str] = unicode_codes.get_emoji_unicode_dict('en')
AttributeError: module 'emoji.unicode_codes' has no attribute 'get_emoji_unicode_dict'
So perhaps it is something about the emoji 2.12.1 library that isn't supported any more? The following versions work: 2.0, 2.10, 2.11. But 2.12 doesn't work any more. According to semantic versioning that shouldn't happen, but it seems that there was a breaking change between emoji 2.11 and 2.12 that isn't reflected in this project yet.
I've tried to import this library, but that fails for the environment that I"m using:
These are the contents of my environment:
So perhaps it is something about the
emoji
2.12.1 library that isn't supported any more? The following versions work: 2.0, 2.10, 2.11. But 2.12 doesn't work any more. According to semantic versioning that shouldn't happen, but it seems that there was a breaking change betweenemoji
2.11 and 2.12 that isn't reflected in this project yet.