instapy-cli icon indicating copy to clipboard operation
instapy-cli copied to clipboard

ModuleNotFoundError: No module named 'instapy_cli'

Open naveenbharadwaj19 opened this issue 4 years ago • 4 comments

pip install instapy-cli

from instapy_cli import client

error messgae : from instapy_cli import client ModuleNotFoundError: No module named 'instapy_cli'

os : windows 10 terminal : Git bash (pip) , code editor : visual studio code , python version : 3.7.7 (i think 64 bit) how to fix this issue ?

naveenbharadwaj19 avatar May 19 '20 14:05 naveenbharadwaj19

Hey @naveenbharadwaj19,

We did a quick check and this issue looks very darn similar to

  • #97 - Error is >> Bad Request
  • #96 - [BUG] Error parsing error response: Expecting value: line 1 column 1 (char 0)
  • #95 - [BUG] I CAN NOT LOG IN TO INSTAGRAM ACCOUNT TO USE CODE. NOT COOKIE FILE FOUND.

This could be a coincidence, but if any of these issues solves your problem then I did a good job :smile:

If not, the maintainers will get to this issue shortly.

Cheers, Your Friendly Neighborhood ProBot

duplicate-issues[bot] avatar May 19 '20 14:05 duplicate-issues[bot]

In your terminal type which pip. If the output directory ends in pip and not pip3, then it may be because you're installing instapy-cli for Python 2.7, but you are using Python 3.7 to run the code.

If it does say pip, try running pip3 install instapy-cli and running the code again.

tomdaly avatar May 20 '20 12:05 tomdaly

@tomdaly the reason for the error instapy-cli was installed on wrong python version i fixed it thanks. But i'm getting a new error when uploading photos `[IG] not found cookie/cookie_file >> login as default Error parsing error response: Expecting value: line 1 column 1 (char 0) Error is >> Bad Request

Something went bad. Please retry or send an issue on https://github.com/b3nab/instapy-cli

Traceback (most recent call last): File "app.py", line 7, in cli.upload(image, story=True) File "C:\Users\bhara\AppData\Local\Programs\Python\Python37\lib\site-packages
instapy_cli\cli.py", line 153, in upload raise IOError("Unable to upload.") OSError: Unable to upload. `

naveenbharadwaj19 avatar May 20 '20 12:05 naveenbharadwaj19

Same error as #84 now

tomdaly avatar May 21 '20 09:05 tomdaly