-
|
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 ArgOptionsIt 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
pythonprompt:It may be that you need to call your script with
python3instead 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 seleniumbaseandpip3 install seleniumbaseto make sure that you haveseleniumbaseandseleniuminstalled.