ou may install a binary package by installing 'psycopg2-binary' from PyPI. code example Example: psycopg2-binary install pip install psycopg2-binary