#34136 closed Bug (invalid)

Django 4.1.3 doesn't work with psycopg2 2.9.5 with Python 3.11.0

Reported by: אורי Owned by: nobody
Component: Database layer (models, ORM) Version: 4.1
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description (last modified by אורי)

If I run tests or makemigrations with Django 4.1.3 and psycopg2 2.9.5 with Python 3.11.0 on Windows, I get this error message:

django.core.exceptions.ImproperlyConfigured: Error loading psycopg2 module: DLL load failed while importing _psycopg: The specified module could not be found.

Change History (2)

comment:1 by אורי, 18 months ago

Description: modified (diff)

comment:2 by Mariusz Felisiak, 18 months ago

Resolution: invalid
Status: newclosed

Thanks for the report, however it seems to be an issue in a local configuration, psycopg2, or Python 3.11, not in Django itself.

Note: See TracTickets for help on using tickets.
Back to Top