instagram_private_api icon indicating copy to clipboard operation
instagram_private_api copied to clipboard

ModuleNotFoundError: No module named 'instagram_private_api' ( Has any of you found a solution to this problem?)

Open sudols12 opened this issue 3 years ago • 3 comments

Please follow the guide below

  • Issues submitted without this template format will be ignored.
  • Rlease read them carefully and answer completely.
  • Do not post screenshots of error messages or code.
  • Put an x into all the boxes [ ] relevant to your issue (==> [x] no spaces).
  • Use the Preview tab to see how your issue will actually look like.
  • Issues about reverse engineering is out of scope and will be closed without response.
  • Any mention of spam-like actions or spam-related tools/libs/etc is strictly not allowed.

Before submitting an issue, make sure you have:

  • [ ] Updated to the lastest version v1.6.0
  • [ ] Read the README and docs
  • [ ] Searched the bugtracker for similar issues including closed ones
  • [ ] Reviewed the sample code in tests and examples

Which client are you using?

  • [ ] app (instagram_private_api/)
  • [x] web (instagram_web_api/)

Describe your Question/Issue:

Please make sure the description is worded well enough to be understood with as much context and examples as possible.


Paste the output of python -V here:

Code:

# Example code that will produce the error reported
from instagram_web_api import Client

web_api = Client()
user_feed_info = web_api.user_feed('1234567890', count=10)

Error/Debug Log:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ZeroDivisionError: integer division or modulo by zero

sudols12 avatar Jul 31 '22 15:07 sudols12

You have to install the module

hitrzajc avatar Aug 26 '22 02:08 hitrzajc

my problem was that i used "python" command instead of "python3.9"

well, that's a python moment telegram-cloud-photo-size-5-6134221096040378504-x

VityaSchel avatar Sep 17 '22 14:09 VityaSchel

Need earlier code to fix this error

gaur-avvv avatar Feb 21 '23 05:02 gaur-avvv