ImportError: cannot import name 'getargspec' from 'inspect'.
Python 3.11.0rc2
Flask 1.1.1
Как решить проблему?
Подробный текст ошибкиTraceback (most recent call last):
File "", line 189, in _run_module_as_main
File "", line 148, in _get_module_details
File "", line 112, in _get_module_details
File "/home/vladimir/vladimir/projects/copypaste/venv/lib64/python3.11/site-packages/flask_flatpages/__init__.py", line 13, in
from .flatpages import FlatPages # noqa
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/vladimir/vladimir/projects/copypaste/venv/lib64/python3.11/site-packages/flask_flatpages/flatpages.py", line 12, in
from inspect import getargspec
ImportError: cannot import name 'getargspec' from 'inspect' (/usr/lib64/python3.11/inspect.py)