-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Description
I'm trying to set up Skyvern locally on Windows using Docker Desktop, but skyvern init is failing during the database migration phase.
Environment:
OS: Windows 11
Python: 3.11 (Microsoft Store version)
Setup: Local installation in .venv
The Issue: The CLI successfully starts the Postgres container and creates the DB, but crashes during "Running database migrations...". I noticed the CLI tried to switch the driver to asyncpg for Windows compatibility, but the connection still drops.
Primary Errors:
RuntimeError: no running event loop
ConnectionDoesNotExistError: connection was closed in the middle of operation
ConnectionResetError: [WinError 64]
It looks like a conflict between the Windows asyncio Proactor loop and Alembic. Has anyone seen a workaround for this on Windows? Full traceback attached.