Open CubedWorldNET opened 7 years ago
seems like something to do with permissions, I'd try running it as super user if you haven't. Does selenium work at all? Try running this in another file.
from selenium import webdriver
browser = webdriver.Firefox()
browser.get('http://google.com')
Will likely find more info in the log file generated too.
Hey,
Appears you are right about Selenium not working at all.
Traceback (most recent call last): File "test.py", line 2, in
browser = webdriver.Firefox() File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/firefox/webdriver.py", line 142, in init self.service.start() File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/common/service.py", line 74, in start stdout=self.log_file, stderr=self.log_file) File "/usr/lib/python2.7/subprocess.py", line 710, in init errread, errwrite) File "/usr/lib/python2.7/subprocess.py", line 1335, in _execute_child raise child_exception OSError: [Errno 8] Exec format error
Also the geckodriver.log file is actually empty, thanks for providing help :)
EDIT: I also tried pip3 install selenium and ran the script in python3 but had the same error.
Did you try running it with sudo?
Hey, yes I did
I got the same error and I'm on windows. Help :(
Hey, not sure what I have done wrong but I followed all the steps and receive this error: