Skip to content
This repository has been archived by the owner on Feb 9, 2024. It is now read-only.

Chromedriver not in path #6

Open
walseb opened this issue Apr 23, 2023 · 2 comments
Open

Chromedriver not in path #6

walseb opened this issue Apr 23, 2023 · 2 comments

Comments

@walseb
Copy link
Contributor

walseb commented Apr 23, 2023

Hello!

When running this, and the latest stable AutoGPT, and it tries to use chromedriver, I get the following error:

SYSTEM:  Command browse_website returned: Error: Message: 'chromedriver' executable needs to be in PATH. Please see https://chromedriver.chromium.org/home

Chromedriver is both installed globally and using this script.

[nix-shell:~/Downloads/Auto-GPT]$ which chromedriver
/nix/store/9qmca55r6rkln3vfhzbk8ikcivpjzzqw-chromedriver-112.0.5615.49/bin/chromedriver

Perhaps AutoGPT is looking in some non-nix path?

Thoughts?

Thanks for any help!

@superherointj
Copy link
Owner

superherointj commented Apr 23, 2023

First, thanks for report!

I was expecting Significant-Gravitas/AutoGPT#1541 to be merged to declare "CUSTOM_WEBDRIVER_PATH" environment variable. But now that it seems it won't be merged, we need some other solution. Likely this.

As the application itself is trying to download this dependency, a patch or a PR to upstream (better) will be necessary:
https://github.com/Significant-Gravitas/Auto-GPT/blob/master/autogpt/commands/web_selenium.py#L97

@superherointj
Copy link
Owner

Related:

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants