ModuleNotFoundError: No module named 'instapy_cli'
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 ?
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
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 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
instapy_cli\cli.py", line 153, in upload
raise IOError("Unable to upload.")
OSError: Unable to upload.
`
Same error as #84 now