-
Hi, I am having a weird issue. I have made a py script for a client in Windows OS. it works perfectly fine on my PC.
I have below configuration: the client has the below configuration: Anybody can suggest what can I do to fix this issue? Thank you |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
There's probably multiple environments on your system and you're not using the correct one. You can verify the import works by typing the following in a from selenium.webdriver.common.options import ArgOptions It may be that you need to call your script with https://github.com/search?q=repo%3ASeleniumHQ%2Fselenium%20ArgOptions&type=code Maybe use both |
Beta Was this translation helpful? Give feedback.
There's probably multiple environments on your system and you're not using the correct one. You can verify the import works by typing the following in a
python
prompt:It may be that you need to call your script with
python3
instead ofpython
, or something like that to make sure you're using the correct environment. That import is used in several places inselenium
:https://github.com/search?q=repo%3ASeleniumHQ%2Fselenium%20ArgOptions&type=code
Maybe use both
pip install seleniumbase
andpip3 install seleniumbase
to make sure that you haveseleniumbase
andselenium
installed.