I\'m trying to install Psycopg2 on my Mac-book. I still get the same error. I found a lot of same questions on Stack Overflow but no answer seems to work. I think it is outd
To install psycopg2
you need have installed server before( I have installed PostgresApp)
Run manually command including the path of pg_config
program in PATH
env variable, in my case:
export PATH=$PATH:/Applications/Postgres.app/Contents/Versions/9.4/bin/
and then run
pip3 install psycopg2
EDIT:
Check directory of pg_config
:
which pg_config