You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pip install `typing_extensions==4.9` # Force to raise the error
pip install onnxscript
An error is raised trying to import onnxscript:
importonnxscript
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python3.11/dist-packages/onnxscript/__init__.py", line 64, in <module>
from .backend.onnx_export import export2python as proto2python
File "/usr/local/lib/python3.11/dist-packages/onnxscript/backend/onnx_export.py", line 12, in <module>
import onnxscript.onnx_types
File "/usr/local/lib/python3.11/dist-packages/onnxscript/onnx_types.py", line 12, in <module>
import onnxscript.ir
File "/usr/local/lib/python3.11/dist-packages/onnxscript/ir/__init__.py", line 81, in <module>
from onnxscript.ir import convenience, passes, serde, traversal
File "/usr/local/lib/python3.11/dist-packages/onnxscript/ir/convenience.py", line 14, in <module>
from onnxscript.ir._convenience import (
File "/usr/local/lib/python3.11/dist-packages/onnxscript/ir/_convenience.py", line 23, in <module>
from onnxscript.ir import _core, _enums, _protocols, serde, tensor_adapters
File "/usr/local/lib/python3.11/dist-packages/onnxscript/ir/_core.py", line 41, in <module>
from typing_extensions import TypeIs
ImportError: cannot import name 'TypeIs' from 'typing_extensions' (/usr/local/lib/python3.11/dist-packages/typing_extensions.py)
Note this is fixed if typing_extensions>4.9 but this should be a requirement when installing the package.
The text was updated successfully, but these errors were encountered:
When I install the following packages:
An error is raised trying to import onnxscript:
Note this is fixed if
typing_extensions>4.9
but this should be a requirement when installing the package.The text was updated successfully, but these errors were encountered: