{{{
django.core.exceptions.ImproperlyConfigured: Error loading psycopg2
module: DLL load failed while importing _psycopg: The specified module
could not be found.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/34136>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
Old description:
> If I run tests or `makemigrations` with Django 4.1.3 and psycopg2 2.9.5
> 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.
> }}}
New description:
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.
}}}
--
--
Ticket URL: <https://code.djangoproject.com/ticket/34136#comment:1>
* status: new => closed
* resolution: => invalid
Comment:
Thanks for the report, however it seems to be an issue in a local
configuration, `psycopg2`, or Python 3.11, not in Django itself.
--
Ticket URL: <https://code.djangoproject.com/ticket/34136#comment:2>