adbenitez / deltachat-cursed

[WIP] Cursed Delta, a lightweight Delta Chat client for the command line
GNU General Public License v3.0
41 stars 2 forks source link

ImportError: cannot import name 'EMOJI_UNICODE_ENGLISH' from 'emoji.unicode_codes' #80

Closed duckdalbe closed 2 years ago

duckdalbe commented 2 years ago

Trying to run curseddelta from the current master results in this error:

Traceback (most recent call last):
  File "/home/user/.local/bin/curseddelta", line 5, in <module>
    from deltachat_cursed.main import main
  File "/home/user/.local/lib/python3.10/site-packages/deltachat_cursed/main.py", line 13, in <module>
    from .application import Application
  File "/home/user/.local/lib/python3.10/site-packages/deltachat_cursed/application.py", line 25, in <module>
    from .widgets.composer import ComposerWidget
  File "/home/user/.local/lib/python3.10/site-packages/deltachat_cursed/widgets/composer.py", line 9, in <module>
    from emoji.unicode_codes import EMOJI_UNICODE_ENGLISH
ImportError: cannot import name 'EMOJI_UNICODE_ENGLISH' from 'emoji.unicode_codes' (/home/user/.local/lib/python3.10/site-packages/emoji/unicode_codes/__init__.py)

I installed with pip install -U --user deltachat-curses on an up-to-date Archlinux. If there's any more information you need please let me know!

duckdalbe commented 2 years ago

Sorry, I just realized that pip install -U --user deltachat-curses doesn't install from the latest state of the "master"-branch but v0.7.1. :facepalm: When installing from the "master"-branch I get a different error, which I'll open a fresh ticket for.