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

Fix packedge requirements #794

Closed voron434 closed 5 years ago

voron434 commented 5 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:

Code:

# Example code that will produce the error reported
from instabot import Bot

bot = Bot()
bot.login(username="user", password="pass")
followers = bot.get_user_followers(bot.user_id)

Error/Debug Log:

[GCC 4.8.2] on linux
Collecting instabot
  Downloading https://files.pythonhosted.org/packages/bd/7a/5e37bd6e68d9c464415d55e46a351319136d58839a5e9fb2e8e799890507/instabot-0.8.0.tar.gz (49kB)
Building wheels for collected packages: instabot
  Running setup.py bdist_wheel for instabot: started
  Running setup.py bdist_wheel for instabot: finished with status 'done'
  Stored in directory: /home/runner/.cache/pip/wheels/51/88/b7/1f2e94145b6bc4695e64e705cb1bcb1da08f6be70582a7e650
Successfully built instabot
Installing collected packages: instabot
Successfully installed instabot-0.8.0
You are using pip version 9.0.1, however version 19.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.

Repl.it: package installation success

 Traceback (most recent call last):
  File "main.py", line 4, in <module>
    from instabot import Bot
  File "/home/runner/.site-packages/instabot/__init__.py", line 1, in <module>
    from .api import API
  File "/home/runner/.site-packages/instabot/api/__init__.py", line 1, in <module>
    from .api import API
  File "/home/runner/.site-packages/instabot/api/api.py", line 19, in <module>
    from tqdm import tqdm
ModuleNotFoundError: No module named 'tqdm'

Describe your issue

In last commits you broke package requirements. Sometimes itstqdm( used for progress-bars), my collegue got another traceback willing to installinstabot`:

>>> from instabot import Bot
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/evgeny/code/PyCourses/smm-test-5/env/lib/python3.6/site-packages/instabot/__init__.py", line 1, in <module>
    from .api import API
  File "/home/evgeny/code/PyCourses/smm-test-5/env/lib/python3.6/site-packages/instabot/api/__init__.py", line 1, in <module>
    from .api import API
  File "/home/evgeny/code/PyCourses/smm-test-5/env/lib/python3.6/site-packages/instabot/api/api.py", line 16, in <module>
    import requests
ModuleNotFoundError: No module named 'requests'

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/evgeny/code/PyCourses/smm-test-5/env/lib/python3.6/site-packages/instabot/__init__.py", line 1, in <module>
    from .api import API
  File "/home/evgeny/code/PyCourses/smm-test-5/env/lib/python3.6/site-packages/instabot/api/__init__.py", line 1, in <module>
    from .api import API
  File "/home/evgeny/code/PyCourses/smm-test-5/env/lib/python3.6/site-packages/instabot/api/api.py", line 18, in <module>
    import six.moves.urllib as urllib
ModuleNotFoundError: No module named 'six

>>> from instabot import Bot
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/evgeny/code/PyCourses/smm-test-5/env/lib/python3.6/site-packages/instabot/__init__.py", line 1, in <module>
    from .api import API
  File "/home/evgeny/code/PyCourses/smm-test-5/env/lib/python3.6/site-packages/instabot/api/__init__.py", line 1, in <module>
    from .api import API
  File "/home/evgeny/code/PyCourses/smm-test-5/env/lib/python3.6/site-packages/instabot/api/api.py", line 19, in <module>
    from tqdm import tqdm
ModuleNotFoundError: No module named 'tqdm'
stale[bot] commented 5 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

ohld commented 5 years ago

pip install tqdm