Skip to content

ImportError: cannot import name 'UNICODE_EMOJI' from 'emoji.unicode_codes' #36

@codeclinic

Description

@codeclinic

If I run python3 quickstart.py InstaPy fails to run and returns the following trace:
(Debian Bullseye on Rpi4)

Traceback (most recent call last):
  File "/home/ha-server-pi/.local/lib/python3.9/site-packages/instapy/InstaPyScripts/quickstart.py", line 2, in <module>
    from instapy import InstaPy
  File "/home/ha-server-pi/.local/lib/python3.9/site-packages/instapy/__init__.py", line 6, in <module>
    from .instapy import InstaPy
  File "/home/ha-server-pi/.local/lib/python3.9/site-packages/instapy/instapy.py", line 34, in <module>
    from .browser import close_browser, set_selenium_local_session
  File "/home/ha-server-pi/.local/lib/python3.9/site-packages/instapy/browser.py", line 14, in <module>
    from .util import interruption_handler
  File "/home/ha-server-pi/.local/lib/python3.9/site-packages/instapy/util.py", line 27, in <module>
    from emoji.unicode_codes import UNICODE_EMOJI
ImportError: cannot import name 'UNICODE_EMOJI' from 'emoji.unicode_codes' (/home/ha-server-pi/.local/lib/python3.9/site-packages/emoji/unicode_codes/__init__.py)

If I pip3 install emoji it says that "Requirement already satisfied: emoji in /home/ha-server-pi/.local/lib/python3.9/site-packages (2.0.0)"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions