Closed jdubois closed 4 years ago
@fengzhou-msft please take a look.
I'm having the same problem. I recently upgrade my version from 2.2.0 to 2.3.1 and the issue persist.
same, with macOS 10.15.3 and az 2.3.1. Any workaround to fix for this?
For what it's worth: I get the same error when i simply pip install psycopg2==2.7.3.1
in a fresh virtualenv. Using the latest psycopg2==2.8.5
fixes it.
/Applications/Postgres.app/
(so no Homebrew)/Library/Frameworks/Python.framework/
(so no Homebrew)For what it's worth: I get the same error when i simply
pip install psycopg2==2.7.3.1
in a fresh virtualenv. Using the latestpsycopg2==2.8.5
fixes it.
- Python 3.8
- Postgres is in
/Applications/Postgres.app/
(so no Homebrew)- Python used for creating virtualenv in
/Library/Frameworks/Python.framework/
(so no Homebrew)- MacOS Mojave (10.14.6)
How would you use this as a workaround? I am having this issue too
This fails for me using azure cli v2.2.0 and v.2.4.0
@Juliehzl is working on the fix.
Please install the latest db-up 0.1.14 and try again.
psycopg2==2.8.5
Installing this psycopg2 version and PostgresSQL solved my issues on MacOS Big Sur (M1).
When installing db-up (
az extension add --name db-up
) I have installation errors.First error:
Error: pg_config executable not found.
First error is
Error: pg_config executable not found.
. This is fixed by installing PostgreSQL:Second error:
ERROR: Failed building wheel for psycopg2-binary
Second error is
ERROR: Failed building wheel for psycopg2-binary
, here is the complete log: