Top "Psycopg2" questions

Psycopg is a PostgreSQL adapter for Python programming language.

Unable to install psycopg2 (pip install psycopg2)

I'm using MAC and python version 2.7.14 Collecting psycopg2 Could not fetch URL https://pypi.python.org/simple/psycopg2/: There was …

python postgresql pip psycopg2
Can't connect the postgreSQL with psycopg2

It's the first time that I can't find the answer about some tech problems Here's my problems: >> conn=…

postgresql psycopg2
Mac + virtualenv + pip + postgresql = Error: pg_config executable not found

I was trying to install postgres for a tutorial, but pip gives me error: pip install psycopg A snip of …

python macos postgresql psycopg2
django.core.exceptions.ImproperlyConfigured: Error loading psycopg module: No module named psycopg

Presently, I'm attempting to configure Django for use on a project, and am encountering a persistent error when I try …

python django module psycopg2 django-manage.py
Postgres SSL SYSCALL error: EOF detected with python and psycopg

Using psycopg2 package with python 2.7 I keep getting the titled error: psycopg2.DatabaseError: SSL SYSCALL error: EOF detected It only …

python postgresql ssl psycopg2 pgrouting
SQLAlchemy: engine, connection and session difference

I use SQLAlchemy and there are at least three entities: engine, session and connection, which have execute method, so if …

python session orm sqlalchemy psycopg2
Python/postgres/psycopg2: getting ID of row just inserted

I'm using Python and psycopg2 to interface to postgres. When I insert a row... sql_string = "INSERT INTO hundred (name,…

python postgresql psycopg2
Psycopg2 Insert Into Table with Placeholders

This might be a rather silly question but what am I doing wrong here? It creates the table but the …

python postgresql postgis psycopg2 psycopg
sqlalchemy.exc.NoSuchModuleError: Can't load plugin: sqlalchemy.dialects:postgres

I'm trying to connect to a Postgres database with SQLAlchemy. I've installed psycopg2. However, I get the error sqlalchemy.exc.…

python postgresql sqlalchemy flask-sqlalchemy psycopg2
Error: pg_config executable not found when installing psycopg2 on Alpine in Docker

I'm trying to build a Flask app using Postgres with Docker. I'd like to connect to an AWS RDS instance …

python postgresql docker psycopg2 alpine