First time here? Check out the FAQ!

pip install psycopg2==2.4.1 Error


I'm trying to install askbot, but I get an error when I try

pip install psycopg2==2.4.1

The error:

warning: manifest_maker: standard file '-c' not found
Error: You need to install postgresql-server-dev-X.Y for building a server-side extension or libpq-dev for building a client-side application.

But I have already installed PostgresQL.

I have ubuntu linux as system. Probably it is a simple problem, but I need your help.

Tuta's avatar
asked 2011-12-24 14:08:26 -0500, updated 2011-12-24 14:13:17 -0500
edit flag offensive 0 remove flag close merge delete


Which system are you using? You will need root access to the server and run commands with the system package manager, such as yum, apt-get, etc., depending on the operating system or distribution.

Evgeny's avatar Evgeny (2011-12-24 14:15:56 -0500) edit
add a comment see more comments

1 Answer


That's right, you need to install both - the development package for postgresql and the libpq-dev.

Evgeny's avatar
answered 2011-12-24 14:14:06 -0500
edit flag offensive 0 remove flag delete link


add a comment see more comments