"Chromedriver not in PATH" error #1231
-
I'm currently trying to use gramine-sgx to run a python script that has a set list of URLs that uses selenium chromedriver to make requests to these URLs but I'm getting a "selenium.common.exceptions.WebDriverException: Message: 'chromedriver' executable needs to be in PATH. Please see https://chromedriver.chromium.org/home" error as I run the script. I know it's in the path because when I check the environment variable has /usr/bin in the path which is where the executable is stored. So I'm wondering is this an issue with the gramine side of things?? I'm new to gramine so any help is appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Hi @JackBlackburnBuffs, thanks for your question! Gramine-SGX by default does not pass environment variables (e.g., |
Beta Was this translation helpful? Give feedback.
Hi @JackBlackburnBuffs, thanks for your question!
Gramine-SGX by default does not pass environment variables (e.g.,
PATH
) from the host to the app. Thus you need to specifiy them explicitly in your Gramine manifest file. Pls kindly see the detailed options here: https://gramine.readthedocs.io/en/stable/manifest-syntax.html#environment-variables.