[Answered ]-Django/Docker/Postgresql – psycopg2 error

1πŸ‘

βœ…

This problem is similar to this question or this github issue

It is either an issue caused by bundling too many commands and having errors because of dependencies or it is an issue of package incompatibility. You are not pinning the psycopg2 version (>=). You may try pinning a specific version.

Psycopg2-binary is the what I use for local development, but with docker I usually stick with regular psycopg2

πŸ‘€periwinkle

Leave a comment