Traceback (most recent call last):
File "E:\odoo 16\odoo source code\16.0\PyPDF2_utils.py", line 53, in
from typing import TypeAlias # type: ignore[attr-defined]
ImportError: cannot import name 'TypeAlias' from 'typing' (C:\Users\HP\AppData\Local\Programs\Python\Python39\lib\typing.py)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "E:\odoo 16\odoo source code\16.0\odoo-16.0\odoo-bin", line 5, in
import odoo
File "E:\odoo 16\odoo source code\16.0\odoo-16.0\odoo__init.py", line 75, in
import PyPDF2
File "E:\odoo 16\odoo source code\16.0\PyPDF2\init__.py", line 12, in
from ._encryption import PasswordType
File "E:\odoo 16\odoo source code\16.0\PyPDF2_encryption.py", line 34, in
from ._utils import logger_warning
File "E:\odoo 16\odoo source code\16.0\PyPDF2_utils.py", line 55, in
from typing_extensions import TypeAlias
ModuleNotFoundError: No module named 'typing_extensions'
Traceback (most recent call last): File "E:\odoo 16\odoo source code\16.0\PyPDF2_utils.py", line 53, in
from typing import TypeAlias # type: ignore[attr-defined]
ImportError: cannot import name 'TypeAlias' from 'typing' (C:\Users\HP\AppData\Local\Programs\Python\Python39\lib\typing.py)
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "E:\odoo 16\odoo source code\16.0\odoo-16.0\odoo-bin", line 5, in
import odoo
File "E:\odoo 16\odoo source code\16.0\odoo-16.0\odoo__init.py", line 75, in
import PyPDF2
File "E:\odoo 16\odoo source code\16.0\PyPDF2\ init__.py", line 12, in
from ._encryption import PasswordType
File "E:\odoo 16\odoo source code\16.0\PyPDF2_encryption.py", line 34, in
from ._utils import logger_warning
File "E:\odoo 16\odoo source code\16.0\PyPDF2_utils.py", line 55, in
from typing_extensions import TypeAlias
ModuleNotFoundError: No module named 'typing_extensions'
Process finished with exit code 1