Instapy: comment_util: ImportError: No module named emoji

Created on 4 Jun 2017  路  3Comments  路  Source: timgrossmann/InstaPy

Hi,

I just updated InstaPy with git reset --hard and git pull and get now the following error:

Traceback (most recent call last):
  File "quickstart.py", line 2, in <module>
    from instapy import InstaPy
  File "/InstaPy/instapy/__init__.py", line 1, in <module>
    from .instapy import InstaPy
  File "/InstaPy/instapy/instapy.py", line 11, in <module>
    from .comment_util import comment_image
  File "/InstaPy/instapy/comment_util.py", line 10, in <module>
    import emoji
ImportError: No module named emoji

Itried to pip install emoji, but the error persists. Do you have any idea how to fix this?

Until today I've used a weeks old version of InstaPy, so this is my first installation with the new emoji functionality (#272, #275).

I'm using CentOS.

help wanted

Most helpful comment

I had to do the following steps:

git clone https://github.com/carpedm20/emoji.git
cd emoji
python setup.py install

Now everything works.

All 3 comments

I had to do the following steps:

git clone https://github.com/carpedm20/emoji.git
cd emoji
python setup.py install

Now everything works.

if you use Python3 try this
pip3 install emoji
it worked for me

if you have only emoji unicode error:

pip install unidecode

Was this page helpful?
0 / 5 - 0 ratings

Related issues

neomh picture neomh  路  3Comments

seuraltimez picture seuraltimez  路  3Comments

CodeMaster1 picture CodeMaster1  路  3Comments

ingorichter picture ingorichter  路  3Comments

wyvers picture wyvers  路  3Comments