Hello, I'm trying to run a python script with the exec node on my RPI4. Running the script from the terminal with: python3 /home/pi/Documents/webscarp.py works just fine but using the same command line in the exec node gives me a code 1 error.
If I try with a simple print hello script the exec node executes the script so I guess it must have something to do with the import selenium part. Maybe I must add something more to the script? Have googled alot for a solution but since Pyhton is a new thing for me I have trouble understanding all the information I find.
webscarp.py
from selenium import webdriver
driver = webdriver.Chrome()
driver.get("https://gmail.com")