Hi! I’m setting up a test instance for meltano cl...
# troubleshooting
m
Hi! I’m setting up a test instance for meltano cloud. I tried to add the redshift loader with
meltano add loader target-redshift
but am getting errors installing it. Any ideas?
Copy code
ERROR: Failed building wheel for psycopg2-binary
ERROR: Could not build wheels for psycopg2-binary, which is required to install pyproject.toml-based projects
I’ve had issues with this package in the past (I’m 96% sure it’s also used/has been used with dbt).
e
Hi Marieke! So, what's happening is probably that plugin depends on an older version of that package that doesn't have binaries for your combination of Python version + Platform. Other folks have solved this using a fork, I think: https://meltano.slack.com/archives/C01TCRBBJD7/p1682365780901819
m
Yup - I changed the pip_url to a very unstable custom git
Still need to see how that will look in cloud
e
Ok, so • the original repo pins
psycopg2-binary==2.8.5
, which doesn't have wheels for Python 3.9+. • the fork mentioned in the thread above pins
psycopg2-binary==2.9.5
, which does have the necessary wheels. @Will Da Silva (Arch) can correct me if I'm wrong but I think Meltano cloud runs on Python 3.9 so only the latter option would work there.