I am trying to install psycopg2 module in amazon linux server, it is throwing an error as below:
./psycopg/psycopg.h:31:22: fatal error: libpq-fe.h: No such file or directory
error: Setup script exited with error: command 'gcc' failed with exit status 1
I checked postgresql-libs , -devel, python-dev are installed already.
can any one suggest on this asap, it is a production server.