Open Johhhhhhan opened 4 years ago
ah fixed it
can you please help me I am getting the same error!
root@kali:~/instapy-quickstart-master# python3 quickstart.py
InstaPy Version: 0.6.10
.. .. .. .. .. .. ._.
Workspace in use: "/root/InstaPy"
Error, unable to determine correct filename for 64bit linux
Traceback (most recent call last):
File "quickstart.py", line 24, in
ah fixed it
can you share how you fixed it?
Had the same here on ubuntu 20.04 LTS. The issue isn't with instapy, it was with the webdriverdownloader.py. I ran
sudo apt install firefox-geckodriver
And that fixed it for me.
I applied this changes to webdriverdownloader to fix the issue. https://github.com/leonidessaguisagjr/webdriverdownloader/compare/master...LeydenJar:fix_linux_64
ah fixed it
how did you fix it? Please share the solution.
to make the solution clear do the following :
filename = [name for name in filenames if os_name + bitness in name and name[-3:] != 'asc' ]
I dont really know much about python but i just wrote this little script and everytime i try to run something i get an this error "Error, unable to determine correct filename for 64bit linux" I would really appreciate help because im very new to python and to linux
Code
from instapy import InstaPy from instapy import smart_run
insta_username = 'blank' insta_password = 'blank'
session = InstaPy(username=insta_username, password=insta_password, headless_browser=False)
with smart_run(session): """ Activity flow """
Console output:
InstaPy Version: 0.6.10 .. .. .. .. .. .. .. .. Workspace in use: "/home/marcel/InstaPy" Error, unable to determine correct filename for 64bit linux Traceback (most recent call last): File "basic_follow-unfollow_activity.py", line 13, in
headless_browser=False)
File "/usr/local/lib/python3.6/dist-packages/instapy/instapy.py", line 323, in init
self.logger,
File "/usr/local/lib/python3.6/dist-packages/instapy/browser.py", line 120, in set_selenium_local_session
driver_path = geckodriver_path or get_geckodriver()
File "/usr/local/lib/python3.6/dist-packages/instapy/browser.py", line 36, in get_geckodriver
sym_path = gdd.download_and_install()[1]
File "/usr/local/lib/python3.6/dist-packages/webdriverdownloader/webdriverdownloader.py", line 177, in download_and_install
show_progress_bar=show_progress_bar)
File "/usr/local/lib/python3.6/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.6/dist-packages/webdriverdownloader/webdriverdownloader.py", line 324, in get_download_url