I ran pip install psycopg2-binary
and it worked like charm
More info about the binary package
Python 3
pip3 install psycopg2-binary
More Related Contents:
- Psycopg2 image not found
- Mac + virtualenv + pip + postgresql = Error: pg_config executable not found
- psycopg2: insert multiple rows with one query
- Parameterized queries with psycopg2 / Python DB-API and PostgreSQL
- Passing table name as a parameter in psycopg2
- DatabaseError: current transaction is aborted, commands ignored until end of transaction block?
- error installing psycopg2, library not found for -lssl
- Error: pg_config executable not found when installing psycopg2 on Alpine in Docker
- How to set up a PostgreSQL database in Django
- Can’t install psycopg2 package through pip install on MacOS
- psycopg2.OperationalError: FATAL: unsupported frontend protocol 1234.5679: server supports 2.0 to 3.0
- sqlalchemy.exc.NoSuchModuleError: Can’t load plugin: sqlalchemy.dialects:postgres
- Create a Postgres database using python
- How to find pg_config path
- Python/postgres/psycopg2: getting ID of row just inserted
- Escape SQL “LIKE” value for Postgres with psycopg2
- How to set connection timeout in SQLAlchemy
- “Failed building wheel for psycopg2” – MacOSX using virtualenv and pip
- Psycopg2, Postgresql, Python: Fastest way to bulk-insert
- Insert Python Dictionary using Psycopg2
- Use binary COPY table FROM with psycopg2
- How Postgresql COPY TO STDIN With CSV do on conflic do update?
- How to change the foreground or background colour of a Tkinter Button on Mac OS X?
- Can’t subtract offset-naive and offset-aware datetimes
- How to install pip for Python 3 on Mac OS X?
- socket.error: [Errno 48] Address already in use
- Python Sound (“Bell”)
- AttributeError: type object ‘Callable’ has no attribute ‘_abc_registry’
- What is the best way to Install Conda on MacOS (Apple/Mac)?
- Setting Mac OSX Application Menu menu bar item to other than “Python” in my python Qt application