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.71k stars 1.47k forks source link

How can I handle to initiate bot_direct #441

Closed Hassankashi closed 6 years ago

Hassankashi commented 6 years ago

Hi guys, I read related document about instagrambot and I installed latest version and requirements.txt.

I want to run "bot_direct.py" Where should I login firstly? I mean which file must be initiated firstly?

I have issue because of sys.path.append(os.path.join(sys.path[0], '../'))

Do I have to use "chromedriver" and install it, where should I put it?

runfile('D:/py/instabot-master/examples/collect_stats.py', wdir='D:/py/instabot-master/examples')
Traceback (most recent call last):

  File "", line 1, in 
    runfile('D:/py/instabot-master/examples/collect_stats.py', wdir='D:/py/instabot-master/examples')

  File "C:\Users\Mahsa\Anaconda3\lib\site-packages\spyder\utils\site\sitecustomize.py", line 710, in runfile
    execfile(filename, namespace)

  File "C:\Users\Mahsa\Anaconda3\lib\site-packages\spyder\utils\site\sitecustomize.py", line 101, in execfile
    exec(compile(f.read(), filename, 'exec'), namespace)

  File "D:/py/instabot-master/examples/collect_stats.py", line 14, in 
    from instabot import Bot

  File "C:\Users\Mahsa\Anaconda3\lib\site-packages\instabot\__init__.py", line 1, in 
    from .api import API

  File "", line 961, in _find_and_load

  File "", line 946, in _find_and_load_unlocked

  File "", line 881, in _find_spec

  File "", line 855, in _find_spec_legacy

  File "C:\Users\Mahsa\Anaconda3\lib\site-packages\pyximport\pyximport.py", line 254, in find_module
    fp, pathname, (ext,mode,ty) = imp.find_module(fullname,package_path)

  File "C:\Users\Mahsa\Anaconda3\lib\imp.py", line 270, in find_module
    "not {}".format(type(path)))

RuntimeError: 'path' must be None or a list, not 

Thanks for any help.

stale[bot] commented 6 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.