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

the following arguments are required: users #321

Closed morier closed 6 years ago

morier commented 7 years ago

hi

i have this problen for any scipts work with users. like example : like_users.py: error: the following arguments are required: users

how can i fix it?

Killerherts commented 7 years ago

this needs to be launched from command window. I use bats IE like_users.py -u "username" -p "password" user1 user2

morier commented 7 years ago

like_users.py Traceback (most recent call last): File "C:\Users\user\Desktop\bot4\instabot-master\examples\like_users.py", line 14, in from instabot import Bot File "C:\Users\user\Desktop\bot4\instabot-master\examples../instabot__init.py", line 1, in from .api import API File "C:\Users\user\Desktop\bot4\instabot-master\examples../instabot\api\init__.py", line 1, in from .api import API File "C:\Users\user\Desktop\bot4\instabot-master\examples../instabot\api\api.py", line 11, in from tqdm import tqdm ImportError: No module named tqdm

this error will be show.i import tqdm and i use python 3.6.2

Killerherts commented 7 years ago

Pip install -r requirements.txt

On Sep 2, 2017 2:01 AM, "morier" notifications@github.com wrote:

like_users.py -u "mortezaer" -p "morison12390" user1 user2 Traceback (most recent call last): File "C:\Users\user\Desktop\bot4\instabot-master\examples\likeusers.py", line 14, in from instabot import Bot File "C:\Users\user\Desktop\bot4\instabot-master\examples../instabot init.py", line 1, in from .api import API File "C:\Users\user\Desktop\bot4\instabot-master\examples../instabot\api init_.py", line 1, in from .api import API File "C:\Users\user\Desktop\bot4\instabot-master\examples../instabot\api\api.py", line 11, in from tqdm import tqdm ImportError: No module named tqdm

this error will be show.i import tqdm and i use python 3.6.2

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/instagrambot/instabot/issues/321#issuecomment-326732221, or mute the thread https://github.com/notifications/unsubscribe-auth/AT_enUQgJ6GnZT3YnfAm-6MyXUfiM4ODks5seRlrgaJpZM4PJ8pH .

palford7 commented 6 years ago

I'm running in the Python shell and I have the same issue. tqdm is installed with sudo pip, and I've also run sudo pip install -r requirements to double-check. Dependancies are installed, but I get the same error above from @morier

ImportError: No module named tqdm

iransales commented 6 years ago

me too

ohld commented 6 years ago

May be your pip and python was bonded to different python versions. Try to use e.g. pip2 and python2

g0rx commented 6 years ago
from .api import API

ImportError: No module named api