Установите psycopg2-binary на Linux
$ pip install psycopg2-binary
Virgin Programmer
$ pip install psycopg2-binary