InstaPy / InstaPy/instapy-quickstart

cannot import name 'UNICODE_EMOJI' from 'emoji.unicode_codes'

Abierto
#272 2 comentarios 3 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Python
Estrellas
777
Forks
763
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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

How can I fix this problem?

What I have done
1) Search every single webpages in google
2) pip uninstall emoji / pip install emoji == 1.7 & 2.0

Environment : window, VS CODE

Please help me, I am crying

""" Quickstart script for InstaPy usage """
# imports
from instapy import InstaPy
from instapy import smart_run

# login credentials
insta_username = '' # <- enter username here
insta_password = '' # <- enter password here

# get an InstaPy session!
# set headless_browser=True to run InstaPy in the background
session = InstaPy(username=insta_username,
password=insta_password,
headless_browser=False)

with smart_run(session):
""" Activity flow """
# general settings
session.set_relationship_bounds(enabled=True,
delimit_by_numbers=True,
max_followers=4590,
min_followers=45,
min_following=77)

session.set_dont_include(["friend1", "friend2", "friend3"])
session.set_dont_like(["pizza", "#store"])

# activity
session.like_by_tags(["natgeo"], amount=10)

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Línea de trabajo

Start with the imports in the provided InstaPy quickstart script and compare the installed emoji versions mentioned in the report. Reproduce the ImportError in the stated Windows and VS Code environment, then verify that the documented quickstart imports successfully and can create an InstaPy session.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
python
Área
developer-experience
Tipo de issue
Error
Dificultad
3/5
Tiempo estimado
1-2 días
Estado de actividad
Estancado
Claridad
Necesita aclaración
Aptitud para principiantes
30/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.