ohld / igbot

🐙 Free scripts, bots and Python API wrapper. Get free followers with our auto like, auto follow and other scripts!
https://hikerapi.com/p/N2P6iqiM
Apache License 2.0
4.69k stars 1.47k forks source link

No module named instabot.api #391

Closed ugurozturk closed 6 years ago

ugurozturk commented 6 years ago

Please follow the guide below


Before submitting an issue, make sure you have:

Purpose of your issue?


The following sections requests more details for particular types of issues, you can remove any section (the contents between the triple ---) not applicable to your issue.


For a bug report, you must include the Python version used, code that will reproduce the error, and the error log/traceback.

Paste the output of python -V here: Python 3.6.3

Code:

Fresh start from examples/ultimate/ultimate.py

Error/Debug Log:

> python ultimate.py
Traceback (most recent call last):
  File "ultimate.py", line 18, in <module>
    from instabot import Bot
  File "C:\Users\taran\AppData\Local\Programs\Python\Python36-32\lib\site-packages\instabot-0.3.3.20-py3.6.egg\instabot\__init__.py", line 1, in <module>
ModuleNotFoundError: No module named 'instabot.api'

Describe your issue

Did clone repo and made "python setup.py install" that is all. After that tried the bot but it failed

ugurozturk commented 6 years ago

After doing python3 setup.py install

root@ss:~/instabot/examples/ultimate# python3 ultimate.py
Traceback (most recent call last):
  File "ultimate.py", line 7, in <module>
    from instabot import Bot
  File "/usr/local/lib/python3.5/dist-packages/instabot-0.3.3.20-py3.5.egg/instabot/__init__.py", line 1, in <module>
ImportError: No module named 'instabot.api'
ugurozturk commented 6 years ago

Fixed again by doing "sudo pip install -U instabot" in examples/ultimate