gravelBridge / AutoGPT-Web-Interaction

A plugin to enable AutoGPT to interact with websites.
MIT License
247 stars 39 forks source link

start_browser returns API error, #3

Open shitcoinsherpa opened 1 year ago

shitcoinsherpa commented 1 year ago

SYSTEM: Command start_browser returned: Error: It looks like you are using Playwright Sync API inside the asyncio loop. Please use the Async API instead.

gravelBridge commented 1 year ago

Please provide more details

volkanbakiler commented 1 year ago

I hace same issue. I'm sure I'm doing something wrong but what it is I dont have any idea. help =(

gravelBridge commented 1 year ago

pip install playwright

Charmy22 commented 1 year ago

I keep coming across this issue too. I've done pip install playwright still can't get it to go past the error.

gravelBridge commented 1 year ago

Can you try python -m pip install playwright?

Charmy22 commented 1 year ago

Yep, I did that and it comes back with requirement already satisfied.

StefanoMarchesi commented 1 year ago

same problem here

1337mofo commented 1 year ago

Same problem here when asking AutoGPT to search a website and gather registrations data... browser launched ok and then on the next action returned "SYSTEM: Command start_browser returned: Error: It looks like you are using Playwright Sync API inside the asyncio loop. Please use the Async API instead. You can read more here: https://docs.agpt.co/setup/#getting-an-api-key"

whatever the fix is I need it explained to me like Im a 3 year old haha Im not a coder and this is all pretty new but also exciting

KingSamuelDavid commented 1 year ago

same issue here, looking for solution

KingSamuelDavid commented 1 year ago

The fix seems to be making sure pip is updated to the latest, done this and then ran the script again making sure to specify to use the plugin and a browser opened good start.