Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue in final running with unicode emoji #303

Open
Czaib opened this issue Jan 2, 2024 · 6 comments
Open

Issue in final running with unicode emoji #303

Czaib opened this issue Jan 2, 2024 · 6 comments

Comments

@Czaib
Copy link

Czaib commented Jan 2, 2024

starting instapy with quickstart

Traceback (most recent call last):
File "C:\instapy\instapy-quickstart-master\instapy-quickstart-master\quickstart.py", line 14, in
from instapy import InstaPy
File "C:\Python310\lib\site-packages\instapy_init_.py", line 6, in
from .instapy import InstaPy
File "C:\Python310\lib\site-packages\instapy\instapy.py", line 34, in
from .browser import close_browser, set_selenium_local_session
File "C:\Python310\lib\site-packages\instapy\browser.py", line 14, in
from .util import interruption_handler
File "C:\Python310\lib\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' (C:\Python310\lib\site-packages\emoji\unicode_codes_init_.py)
Press any key to continue . . .

@gqchishti
Copy link

pip uninstall emoji
pip install emoji==1.7

@Czaib
Copy link
Author

Czaib commented Jan 7, 2024

pip uninstall emoji pip install emoji==1.7

from instapy import InstaPy
File "C:\Users\Konain's PC\AppData\Local\Programs\Python\Python312\Lib\site-packages\instapy_init_.py", line 6, in
from .instapy import InstaPy
File "C:\Users\Konain's PC\AppData\Local\Programs\Python\Python312\Lib\site-packages\instapy\instapy.py", line 35, in
from .clarifai_util import check_image
File "C:\Users\Konain's PC\AppData\Local\Programs\Python\Python312\Lib\site-packages\instapy\clarifai_util.py", line 3, in
from clarifai.rest import ClarifaiApp, Workflow
File "C:\Users\Konain's PC\AppData\Local\Programs\Python\Python312\Lib\site-packages\clarifai\rest_init_.py", line 3, in
from clarifai.rest.client import ApiClient
File "C:\Users\Konain's PC\AppData\Local\Programs\Python\Python312\Lib\site-packages\clarifai\rest\client.py", line 21, in
from future.moves.urllib.parse import urlparse
File "C:\Users\Konain's PC\AppData\Local\Programs\Python\Python312\Lib\site-packages\future\moves_init_.py", line 5, in
from future.standard_library import import_top_level_modules
File "C:\Users\Konain's PC\AppData\Local\Programs\Python\Python312\Lib\site-packages\future\standard_library_init_.py", line 65, in
import imp
ModuleNotFoundError: No module named 'imp'
PS C:\Users\Konain's PC\Downloads\instapy new\InstaPy-master>

@gqchishti
Copy link

use python 3.11.7 as in python 3.12 they have depreciated the imp module

@gqchishti
Copy link

however this repository have a lot of issues as it not properly maintained and instagram has changed alot since.

@Poloduf
Copy link

Poloduf commented Jan 8, 2024

@gqchishti do you have any others programs updated and maintained ?

@gqchishti
Copy link

instagrapi seems to be updated but it uses api instead of selenium. I haven't tried it much but with some coding you can customize it the way you want it to be.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants