Top "Psycopg2" questions

Psycopg is a PostgreSQL adapter for Python programming language.

pg_config executable not found

I am having trouble installing psycopg2. I get the following error when I try to pip install psycopg2: Error: pg_…

python pip psycopg2
How to install psycopg2 with "pip" on Python?

I'm using virtualenv and I need to install "psycopg2". I have done the following: pip install http://pypi.python.org/…

python virtualenv psycopg2 pip
DatabaseError: current transaction is aborted, commands ignored until end of transaction block?

I got a lot of errors with the message : "DatabaseError: current transaction is aborted, commands ignored until end of transaction …

python django postgresql psycopg2
How to set up a PostgreSQL database in Django

I'm new to Python and Django. I'm configuring a Django project using a PostgreSQL database engine backend, But I'm getting …

python django postgresql psycopg2 django-settings
Error: No module named psycopg2.extensions

I am trying to set up a PostgreSQL database for my django project, which I believe I have done now …

python django postgresql psycopg2
psycopg2: insert multiple rows with one query

I need to insert multiple rows with one query (number of rows is not constant), so I need to execute …

python postgresql psycopg2
Pandas read_sql with parameters

Are there any examples of how to pass parameters with an SQL query in Pandas? In particular I'm using an …

python sql pandas psycopg2
How do I get a list of column names from a psycopg2 cursor?

I would like a general way to generate column labels directly from the selected column names, and recall seeing that …

python psycopg2
install Psycopg2 on mac osx 10.9.5

I'm trying to install Psycopg2 on my Mac-book. I still get the same error. I found a lot of same …

python macos postgresql psycopg2
Installing psycopg2 into virtualenv when PostgreSQL is not installed on development system

Is it possible to install psycopg2 into a virtualenv when PostgreSQL isn't installed on my development system—MacBook Pro with …

virtualenv pip psycopg2