[Raspberry Pi3B+]Can't use Firefox webdriver on Selenium python32019 Community Moderator ElectionSelenium: FirefoxProfile exception Can't load the profileHow to install firefoxdriver webdriver for python3 selenium on ubuntu 16.04?Firefox blank webbrowser with seleniumSelenium test executeSelenium script working from console, not working in CRON - Geckodriver errorIn Python, how to check if Selenium WebDriver has quit or not?Starting firefox-selenium macosunresolved traceback using selenium webdriver in python3Selenium ChromeDriver not working in python3.5 ubuntuPython 3.x selenium errors
Can hydraulic brake levers get hot when brakes overheat?
SQL Server Primary Login Restrictions
Should we release the security issues we found in our product as CVE or we can just update those on weekly release notes?
Do I need life insurance if I can cover my own funeral costs?
Russian cases: A few examples, I'm really confused
Ban on all campaign finance?
Rejected in 4th interview round citing insufficient years of experience
At what level can a dragon innately cast its spells?
Why doesn't the EU now just force the UK to choose between referendum and no-deal?
How to explain that I do not want to visit a country due to personal safety concern?
Where is the 1/8 CR apprentice in Volo's Guide to Monsters?
Is it possible that AIC = BIC?
Can anyone tell me why this program fails?
Official degrees of earth’s rotation per day
Is a lawful good "antagonist" effective?
How do anti-virus programs start at Windows boot?
Why using two cd commands in bash script does not execute the second command
What is the greatest age difference between a married couple in Tanach?
Informing my boss about remarks from a nasty colleague
Professor being mistaken for a grad student
Can the damage from a Talisman of Pure Good (or Ultimate Evil) be non-lethal?
Life insurance that covers only simultaneous/dual deaths
Bash replace string at multiple places in a file from command line
Be in awe of my brilliance!
[Raspberry Pi3B+]Can't use Firefox webdriver on Selenium python3
2019 Community Moderator ElectionSelenium: FirefoxProfile exception Can't load the profileHow to install firefoxdriver webdriver for python3 selenium on ubuntu 16.04?Firefox blank webbrowser with seleniumSelenium test executeSelenium script working from console, not working in CRON - Geckodriver errorIn Python, how to check if Selenium WebDriver has quit or not?Starting firefox-selenium macosunresolved traceback using selenium webdriver in python3Selenium ChromeDriver not working in python3.5 ubuntuPython 3.x selenium errors
from selenium import webdriver
driver = webdriver.Firefox()
driver.get('https://www.google.com/')
Traceback (most recent call last): File
"/usr/lib/python3/dist-packages/thonny/backend.py", line 1128, in
_execute_prepared_user_code
exec(statements, global_vars)
File "/home/pi/Desktop/test1.py", line 3, in
driver = webdriver.Firefox()
File
"/home/pi/.local/lib/python3.5/site-packages/selenium/webdriver/firefox/webdriver.py",
line 164, in init
self.service.start()
File
"/home/pi/.local/lib/python3.5/site-packages/selenium/webdriver/common/service.py",
line 76, in start
stdin=PIPE)
File "/usr/lib/python3.5/subprocess.py", line 676, in init
restore_signals, start_new_session)
File "/usr/lib/python3.5/subprocess.py", line 1282, in
_execute_child
raise child_exception_type(errno_num, err_msg)
OSError: [Errno 8] Exec format error
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File
"/usr/lib/python3/dist-packages/thonny/backend.py", line 1105, in
execute_source
return self._prepare_hooks_and_execute(bytecode, None, global_vars)
File "/usr/lib/python3/dist-packages/thonny/backend.py", line 1120,
in _prepare_hooks_and_execute
return self._execute_prepared_user_code(statements, expression, global_vars)
File "/usr/lib/python3/dist-packages/thonny/backend.py", line 1137,
in _execute_prepared_user_code
return "user_exception": self._vm._prepare_user_exception()
File "/usr/lib/python3/dist-packages/thonny/backend.py", line 993,
in _prepare_user_exception
"stack": self._export_stack(last_frame),
File "/usr/lib/python3/dist-packages/thonny/backend.py", line 896,
in _export_stack
locals=self.export_variables(system_frame.f_locals),
File "/usr/lib/python3/dist-packages/thonny/backend.py", line 850,
in export_variables
result[name] = self.export_value(variables[name], 100)
File "/usr/lib/python3/dist-packages/thonny/backend.py", line 840,
in export_value
rep = repr(value)
File
"/home/pi/.local/lib/python3.5/site-packages/selenium/webdriver/remote/webdriver.py",
line 164, in repr
type(self), self.session_id)
AttributeError: 'WebDriver' object has no attribute 'session_id'
python python-3.x raspberry-pi3
add a comment |
from selenium import webdriver
driver = webdriver.Firefox()
driver.get('https://www.google.com/')
Traceback (most recent call last): File
"/usr/lib/python3/dist-packages/thonny/backend.py", line 1128, in
_execute_prepared_user_code
exec(statements, global_vars)
File "/home/pi/Desktop/test1.py", line 3, in
driver = webdriver.Firefox()
File
"/home/pi/.local/lib/python3.5/site-packages/selenium/webdriver/firefox/webdriver.py",
line 164, in init
self.service.start()
File
"/home/pi/.local/lib/python3.5/site-packages/selenium/webdriver/common/service.py",
line 76, in start
stdin=PIPE)
File "/usr/lib/python3.5/subprocess.py", line 676, in init
restore_signals, start_new_session)
File "/usr/lib/python3.5/subprocess.py", line 1282, in
_execute_child
raise child_exception_type(errno_num, err_msg)
OSError: [Errno 8] Exec format error
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File
"/usr/lib/python3/dist-packages/thonny/backend.py", line 1105, in
execute_source
return self._prepare_hooks_and_execute(bytecode, None, global_vars)
File "/usr/lib/python3/dist-packages/thonny/backend.py", line 1120,
in _prepare_hooks_and_execute
return self._execute_prepared_user_code(statements, expression, global_vars)
File "/usr/lib/python3/dist-packages/thonny/backend.py", line 1137,
in _execute_prepared_user_code
return "user_exception": self._vm._prepare_user_exception()
File "/usr/lib/python3/dist-packages/thonny/backend.py", line 993,
in _prepare_user_exception
"stack": self._export_stack(last_frame),
File "/usr/lib/python3/dist-packages/thonny/backend.py", line 896,
in _export_stack
locals=self.export_variables(system_frame.f_locals),
File "/usr/lib/python3/dist-packages/thonny/backend.py", line 850,
in export_variables
result[name] = self.export_value(variables[name], 100)
File "/usr/lib/python3/dist-packages/thonny/backend.py", line 840,
in export_value
rep = repr(value)
File
"/home/pi/.local/lib/python3.5/site-packages/selenium/webdriver/remote/webdriver.py",
line 164, in repr
type(self), self.session_id)
AttributeError: 'WebDriver' object has no attribute 'session_id'
python python-3.x raspberry-pi3
add a comment |
from selenium import webdriver
driver = webdriver.Firefox()
driver.get('https://www.google.com/')
Traceback (most recent call last): File
"/usr/lib/python3/dist-packages/thonny/backend.py", line 1128, in
_execute_prepared_user_code
exec(statements, global_vars)
File "/home/pi/Desktop/test1.py", line 3, in
driver = webdriver.Firefox()
File
"/home/pi/.local/lib/python3.5/site-packages/selenium/webdriver/firefox/webdriver.py",
line 164, in init
self.service.start()
File
"/home/pi/.local/lib/python3.5/site-packages/selenium/webdriver/common/service.py",
line 76, in start
stdin=PIPE)
File "/usr/lib/python3.5/subprocess.py", line 676, in init
restore_signals, start_new_session)
File "/usr/lib/python3.5/subprocess.py", line 1282, in
_execute_child
raise child_exception_type(errno_num, err_msg)
OSError: [Errno 8] Exec format error
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File
"/usr/lib/python3/dist-packages/thonny/backend.py", line 1105, in
execute_source
return self._prepare_hooks_and_execute(bytecode, None, global_vars)
File "/usr/lib/python3/dist-packages/thonny/backend.py", line 1120,
in _prepare_hooks_and_execute
return self._execute_prepared_user_code(statements, expression, global_vars)
File "/usr/lib/python3/dist-packages/thonny/backend.py", line 1137,
in _execute_prepared_user_code
return "user_exception": self._vm._prepare_user_exception()
File "/usr/lib/python3/dist-packages/thonny/backend.py", line 993,
in _prepare_user_exception
"stack": self._export_stack(last_frame),
File "/usr/lib/python3/dist-packages/thonny/backend.py", line 896,
in _export_stack
locals=self.export_variables(system_frame.f_locals),
File "/usr/lib/python3/dist-packages/thonny/backend.py", line 850,
in export_variables
result[name] = self.export_value(variables[name], 100)
File "/usr/lib/python3/dist-packages/thonny/backend.py", line 840,
in export_value
rep = repr(value)
File
"/home/pi/.local/lib/python3.5/site-packages/selenium/webdriver/remote/webdriver.py",
line 164, in repr
type(self), self.session_id)
AttributeError: 'WebDriver' object has no attribute 'session_id'
python python-3.x raspberry-pi3
from selenium import webdriver
driver = webdriver.Firefox()
driver.get('https://www.google.com/')
Traceback (most recent call last): File
"/usr/lib/python3/dist-packages/thonny/backend.py", line 1128, in
_execute_prepared_user_code
exec(statements, global_vars)
File "/home/pi/Desktop/test1.py", line 3, in
driver = webdriver.Firefox()
File
"/home/pi/.local/lib/python3.5/site-packages/selenium/webdriver/firefox/webdriver.py",
line 164, in init
self.service.start()
File
"/home/pi/.local/lib/python3.5/site-packages/selenium/webdriver/common/service.py",
line 76, in start
stdin=PIPE)
File "/usr/lib/python3.5/subprocess.py", line 676, in init
restore_signals, start_new_session)
File "/usr/lib/python3.5/subprocess.py", line 1282, in
_execute_child
raise child_exception_type(errno_num, err_msg)
OSError: [Errno 8] Exec format error
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File
"/usr/lib/python3/dist-packages/thonny/backend.py", line 1105, in
execute_source
return self._prepare_hooks_and_execute(bytecode, None, global_vars)
File "/usr/lib/python3/dist-packages/thonny/backend.py", line 1120,
in _prepare_hooks_and_execute
return self._execute_prepared_user_code(statements, expression, global_vars)
File "/usr/lib/python3/dist-packages/thonny/backend.py", line 1137,
in _execute_prepared_user_code
return "user_exception": self._vm._prepare_user_exception()
File "/usr/lib/python3/dist-packages/thonny/backend.py", line 993,
in _prepare_user_exception
"stack": self._export_stack(last_frame),
File "/usr/lib/python3/dist-packages/thonny/backend.py", line 896,
in _export_stack
locals=self.export_variables(system_frame.f_locals),
File "/usr/lib/python3/dist-packages/thonny/backend.py", line 850,
in export_variables
result[name] = self.export_value(variables[name], 100)
File "/usr/lib/python3/dist-packages/thonny/backend.py", line 840,
in export_value
rep = repr(value)
File
"/home/pi/.local/lib/python3.5/site-packages/selenium/webdriver/remote/webdriver.py",
line 164, in repr
type(self), self.session_id)
AttributeError: 'WebDriver' object has no attribute 'session_id'
python python-3.x raspberry-pi3
python python-3.x raspberry-pi3
edited Mar 8 at 13:55
Steve-o169
604118
604118
asked Mar 6 at 18:42
UpFeR PattaminUpFeR Pattamin
1
1
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
- Reinstall selenium with
pip3 install selenium - Download and unzip geckodriver, move to /usr/local/bin
- Install firefox with
sudo apt-get install firefox-esr
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55030106%2fraspberry-pi3bcant-use-firefox-webdriver-on-selenium-python3%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
- Reinstall selenium with
pip3 install selenium - Download and unzip geckodriver, move to /usr/local/bin
- Install firefox with
sudo apt-get install firefox-esr
add a comment |
- Reinstall selenium with
pip3 install selenium - Download and unzip geckodriver, move to /usr/local/bin
- Install firefox with
sudo apt-get install firefox-esr
add a comment |
- Reinstall selenium with
pip3 install selenium - Download and unzip geckodriver, move to /usr/local/bin
- Install firefox with
sudo apt-get install firefox-esr
- Reinstall selenium with
pip3 install selenium - Download and unzip geckodriver, move to /usr/local/bin
- Install firefox with
sudo apt-get install firefox-esr
answered Mar 6 at 19:29
WinnerWinner
14618
14618
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55030106%2fraspberry-pi3bcant-use-firefox-webdriver-on-selenium-python3%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown