InstaPy / InstaPy/instapy-docs
ImportError: cannot import name 'UNICODE_EMOJI' from 'emoji.unicode_codes'
- Langage dominant
- Aucune donnée de langage
- Étoiles
- 65
- Forks
- 54
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
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
from instapy import InstaPy
File "/home/ha-server-pi/.local/lib/python3.9/site-packages/instapy/__init__.py", line 6, in
from .instapy import InstaPy
File "/home/ha-server-pi/.local/lib/python3.9/site-packages/instapy/instapy.py", line 34, in
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
from .util import interruption_handler
File "/home/ha-server-pi/.local/lib/python3.9/site-packages/instapy/util.py", line 27, in
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)"
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Piste de recherche
Start by reproducing `python3 quickstart.py` with emoji 2.0 on the reported environment. Inspect `instapy/util.py`, especially the import of `UNICODE_EMOJI`, and check the project's dependency declarations for the expected emoji version. Done means quickstart.py imports successfully without this ImportError.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- python
- Domaine
- backend
- Type d'issue
- Bug
- Difficulté
- 2/5
- Temps estimé
- 1-3 heures
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 35/100