Skip to content

ImportError #23

@User090722

Description

@User090722

Traceback (most recent call last):
File "C:\Users\User\PycharmProjects\OnlyPython_mysql\OnlyPython_addons.py", line 27, in
import py2js
File "C:\Users\User\OnlyPython_mysql\lib\site-packages\py2js_init_.py", line 1, in
from .py2js import compatible, convert, Visitor, JSVisitorContext
File "C:\Users\User\OnlyPython_mysql\lib\site-packages\py2js\py2js.py", line 14, in
from .visitor import Visitor, VisitorContext
File "C:\Users\User\OnlyPython_mysql\lib\site-packages\py2js\visitor.py", line 3, in
from typing import Callable, Generic, List, Optional, Self, TypeVar, Union
ImportError: cannot import name 'Self' from 'typing' (C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64__qbz5n2kfra8p0\lib\typing.py)

I use Python 3.9

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions