instapy-quickstart icon indicating copy to clipboard operation
instapy-quickstart copied to clipboard

name erroe

Open Protato-noob opened this issue 5 years ago • 4 comments

File "quickstart.py", line 22, in session = InstaPy(username=ngrok_instafollowers, NameError: name 'ngrok_instafollowers' is not defined

Protato-noob avatar Sep 25 '20 15:09 Protato-noob

InstaPy(username="abcd", password="1234")

kalathiyabhavik avatar Sep 26 '20 05:09 kalathiyabhavik

InstaPy(username="abcd", password="1234")

Workspace in use: "/root/InstaPy" Error, unable to determine correct filename for 64bit linux Traceback (most recent call last): File "quickstart.py", line 5, in session = InstaPy(username='ngrok_instafollowers', password='Jainyash88') File "/usr/local/lib/python3.8/dist-packages/instapy/instapy.py", line 312, in init self.browser, err_msg = set_selenium_local_session( File "/usr/local/lib/python3.8/dist-packages/instapy/browser.py", line 120, in set_selenium_local_session driver_path = geckodriver_path or get_geckodriver() File "/usr/local/lib/python3.8/dist-packages/instapy/browser.py", line 36, in get_geckodriver sym_path = gdd.download_and_install()[1] File "/usr/local/lib/python3.8/dist-packages/webdriverdownloader/webdriverdownloader.py", line 174, in download_and_install filename_with_path = self.download(version, File "/usr/local/lib/python3.8/dist-packages/webdriverdownloader/webdriverdownloader.py", line 129, in download download_url = self.get_download_url(version, os_name=os_name, bitness=bitness) File "/usr/local/lib/python3.8/dist-packages/webdriverdownloader/webdriverdownloader.py", line 324, in get_download_url raise RuntimeError(info_message) RuntimeError: Error, unable to determine correct filename for 64bit linux

Protato-noob avatar Sep 26 '20 16:09 Protato-noob

Had the same here on ubuntu 20.04 LTS. The issue isnt with instapy, it was with the webdriverdownloader.py. I ran

sudo apt install firefox-geckodriver

And that fixed it for me.

Ronster2018 avatar Oct 08 '20 01:10 Ronster2018

maybe the author can implement this driver's installation in install file.

tommyyama2020 avatar Oct 16 '20 18:10 tommyyama2020