First time here? Check out the FAQ!
0

pip install psycopg2==2.4.1 Error
 

Hello,

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.

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
Tuta's avatar
45
Tuta
asked 13 years ago, updated 13 years ago

Comments

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 (13 years ago)
see more comments

1 Answer

0

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

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
Evgeny's avatar
13.2k
Evgeny
answered 13 years ago
link

Comments

see more comments