Chase Brammer
03/28/2025, 7:07 PMMELTANO_DATABASE_URI env var to be a postgres db (such <postgresql+psycopg://user:password@localhost:5432/meltano>) and running meltano state list I get the following error
No module named 'psycopg'
I have tried
• Adding the postgres utility to meltano - meltano add utility postgres
• Adding python packages postgres, psycopg2, psycopg2-binary
• Re-reading over and over the docs here and here to no avail
I am at a dead end 😞 Help?BuzzCutNorman
03/28/2025, 7:22 PMpostgresql+psycopg2:// .Edgar Ramírez (Arch.dev)
03/28/2025, 7:25 PMmeltano[postgres] and we could probably make it more explicit in that doc.Chase Brammer
03/28/2025, 7:26 PMChase Brammer
03/28/2025, 7:27 PMEdgar Ramírez (Arch.dev)
03/28/2025, 7:28 PMuv tool install meltano you might wanna do uv tool install --from meltano[postgres] meltanoEdgar Ramírez (Arch.dev)
03/28/2025, 7:28 PMcrazy amount of commits/activity🙈
Chase Brammer
03/28/2025, 7:33 PMuv tool install --from meltano\[postgres\] meltano (needed to add the \ to install
• Same error while running both uvx meltano state list and uv tool run meltano state listChase Brammer
03/28/2025, 8:02 PM~/.local/share/uv/tools/meltano/uv-receipt.toml file which has the postgres flag on
[tool]
requirements = [{ name = "meltano", extras = ["postgres"] }]
entrypoints = [
{ name = "meltano", install-path = "/Users/myuser/.local/bin/meltano" },
]Edgar Ramírez (Arch.dev)
03/28/2025, 8:02 PMwhere meltano might reveal somethingChase Brammer
03/28/2025, 8:05 PMpostgresql+psycopg2 to postgresql+psycopg and we are back in business!Chase Brammer
03/28/2025, 8:05 PM[postgres]Edgar Ramírez (Arch.dev)
03/28/2025, 8:26 PMChase Brammer
03/28/2025, 8:52 PMEdgar Ramírez (Arch.dev)
03/31/2025, 4:41 PM