Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Tried it out on a local test postgres db.

First error: "Connection failed, no module named 'psycopg2'"





You need to install psycopg2, or perhaps more likely psycopg2-binary to access postgres databases. After hiichbindermax and mrbump helped me out upthread, I was able to get it working via:

    uvx --from sqlit-tui --with psycopg2-binary sqlit
If you're not using uv, then you'll need to install psycopg2-binary in whatever environment you're using (probably via `pip install psycopg2-binary`).



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: