Error module ‘inspect’ has no attribute ‘getargspec’

Hello. I am using django and python 3.11.9 and I am getting this error

Apr 30 04:30:27 PMError: module ‘inspect’ has no attribute ‘getargspec’

Apr 30 04:31:21 PM==> No open ports detected, continuing to scan…

Apr 30 04:32:04 PM==> Using Node version 20.12.2 (default)

Apr 30 04:32:05 PM==> Using Bun version 1.1.0 (default)

Apr 30 04:32:13 PM==> Running ‘gunicorn backend.wsgi:application’

Apr 30 04:32:14 PM

Apr 30 04:32:14 PMError: module ‘inspect’ has no attribute ‘getargspec’

Hi there,

Try downgrading your Python version to version 3.10 getargspec isn’t a method of inspect in Python 3.11: https://docs.python.org/3.11/library/inspect.html#inspect.getargspec.

Regards,

Keith
Render Support, UTC+10 :australia:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.