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

ModuleNotFoundError: No module named 'instapy_cli' #98

Open
naveenbharadwaj19 opened this issue May 19, 2020 · 4 comments
Open

ModuleNotFoundError: No module named 'instapy_cli' #98

naveenbharadwaj19 opened this issue May 19, 2020 · 4 comments

Comments

@naveenbharadwaj19
Copy link

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 ?

@duplicate-issues
Copy link

Hey @naveenbharadwaj19,

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

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

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

Cheers,
Your Friendly Neighborhood ProBot

@tomdaly
Copy link

tomdaly commented May 20, 2020

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.

@naveenbharadwaj19
Copy link
Author

@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.
`

@tomdaly
Copy link

tomdaly commented May 21, 2020

Same error as #84 now

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

No branches or pull requests

2 participants