[Django] #34136: Django 4.1.3 doesn't work with psycopg2 2.9.5 with Python 3.11.0

5 views
Skip to first unread message

Django

unread,
Nov 3, 2022, 1:20:25 AM11/3/22
to django-...@googlegroups.com
#34136: Django 4.1.3 doesn't work with psycopg2 2.9.5 with Python 3.11.0
-------------------------------------+-------------------------------------
Reporter: אורי | Owner: nobody
Type: Bug | Status: new
Component: Database | Version: 4.1
layer (models, ORM) |
Severity: Normal | Keywords:
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
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.
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/34136>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Nov 3, 2022, 1:23:14 AM11/3/22
to django-...@googlegroups.com
#34136: Django 4.1.3 doesn't work with psycopg2 2.9.5 with Python 3.11.0
-------------------------------------+-------------------------------------
Reporter: אורי | Owner: nobody
Type: Bug | Status: new
Component: Database layer | Version: 4.1
(models, ORM) |
Severity: Normal | Resolution:
Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Description changed by אורי:

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>

Django

unread,
Nov 3, 2022, 1:58:04 AM11/3/22
to django-...@googlegroups.com
#34136: Django 4.1.3 doesn't work with psycopg2 2.9.5 with Python 3.11.0
-------------------------------------+-------------------------------------
Reporter: אורי | Owner: nobody
Type: Bug | Status: closed

Component: Database layer | Version: 4.1
(models, ORM) |
Severity: Normal | Resolution: invalid

Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak):

* 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>

Reply all
Reply to author
Forward
0 new messages