I am not sure whether this is really a postgres issue or a python / Django 
issue - please let me know if I should be posting this elsewhere.
I have installed Ubuntu 13.04, Postgres 9.1 and Django. (strangely, the 
Ubuntu software centre says I have Python 3.3, but when I go into the 
Python shell it says 2.7.4).  
I followed the instructions on configuring Postgres from 
http://blog.iiilx.com/programming/how-to-install-postgres-on-ubuntu-for-django/,
 
up to the point of adding a line to the pg_hba.conf file - Ubuntu would not 
let me write to this. 
When I tried to install psycopg2 (pip install psycopg2),  I got the 
following error:

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. 

What does this mean?  How do I proceed? 

Many thanks in advance for your help.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/3b3fa90f-7602-40ff-ab79-55d70c3074f1%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to