Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

start_browser returns API error, #3

Open
shitcoinsherpa opened this issue May 6, 2023 · 10 comments
Open

start_browser returns API error, #3

shitcoinsherpa opened this issue May 6, 2023 · 10 comments

Comments

@shitcoinsherpa
Copy link

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
Copy link
Owner

Please provide more details

@volkanbakiler
Copy link

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

@gravelBridge
Copy link
Owner

pip install playwright

@Charmy22
Copy link

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

@gravelBridge
Copy link
Owner

Can you try python -m pip install playwright?

@Charmy22
Copy link

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

@StefanoMarchesi
Copy link

same problem here

@1337mofo
Copy link

1337mofo commented May 24, 2023

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
Copy link

same issue here, looking for solution

@KingSamuelDavid
Copy link

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.

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

No branches or pull requests

7 participants