AttributeError: module 'typing_extensions' has no attribute 'Self'

Hi,
I am using USD Composer 2023.2.0.
I am trying to import “Semantic Kernel” in my extension but I am unable to.

It throws me following error:

AttributeError: module 'typing_extensions' has no attribute 'Self'

Installed Versions in Composer :
typing_extensions-4.8.0.dist-info
semantic_kernel-0.3.13.dev0.dist-info

LOG:


2023-11-15 08:07:55  [Info] [omni.ext.plugin] About to startup: [ext: omni.sk.test-1.0.0] (order: 0) Triggered by API/CLI/Config. (path: c:/projects/omniverse_test/sk_integration/exts/omni.sk.test)
2023-11-15 08:07:55  [Info] [omni.kit.app.plugin] [3703.083s] [ext: omni.sk.test-1.0.0] startup
2023-11-15 08:07:55  [Info] [omni.ext._impl.utils] -> func:_refresh_cache took: 0.0000s
2023-11-15 08:07:55  [Error] [omni.ext._impl._internal] Failed to import python module omni.sk.test from c:\projects\omniverse_test\sk_integration\exts\omni.sk.test. Error: module 'typing_extensions' has no attribute 'Self'. Traceback:
2023-11-15 08:07:55  [Error] [omni.ext._impl._internal] Traceback (most recent call last):
2023-11-15 08:07:55  [Error] [omni.ext._impl._internal]   File "c:\users/pranav.buradkar/appdata/local/ov/pkg/create-2023.2.0/kit/kernel/py\omni\ext\_impl\_internal.py", line 187, in _custom_importer
2023-11-15 08:07:55  [Error] [omni.ext._impl._internal]     return _import_public(ext_module.path, ext_module.name, reload_enabled)
2023-11-15 08:07:55  [Error] [omni.ext._impl._internal]   File "c:\users/pranav.buradkar/appdata/local/ov/pkg/create-2023.2.0/kit/kernel/py\carb\profiler\__init__.py", line 83, in wrapper
2023-11-15 08:07:55  [Error] [omni.ext._impl._internal]     r = f(*args, **kwds)
2023-11-15 08:07:55  [Error] [omni.ext._impl._internal]   File "c:\users/pranav.buradkar/appdata/local/ov/pkg/create-2023.2.0/kit/kernel/py\omni\ext\_impl\_internal.py", line 94, in _import_public
2023-11-15 08:07:55  [Error] [omni.ext._impl._internal]     module = import_module(module_name)
2023-11-15 08:07:55  [Error] [omni.ext._impl._internal]   File "c:\users/pranav.buradkar/appdata/local/ov/pkg/create-2023.2.0/kit/kernel/py\carb\profiler\__init__.py", line 83, in wrapper
2023-11-15 08:07:55  [Error] [omni.ext._impl._internal]     r = f(*args, **kwds)
2023-11-15 08:07:55  [Error] [omni.ext._impl._internal]   File "c:\users/pranav.buradkar/appdata/local/ov/pkg/create-2023.2.0/kit/kernel/py\omni\ext\_impl\custom_importer.py", line 76, in import_module
2023-11-15 08:07:55  [Error] [omni.ext._impl._internal]     return importlib.import_module(name)
2023-11-15 08:07:55  [Error] [omni.ext._impl._internal]   File "c:\users\pranav.buradkar\appdata\local\ov\pkg\create-2023.2.0\kit\python\lib\importlib\__init__.py", line 126, in import_module
2023-11-15 08:07:55  [Error] [omni.ext._impl._internal]     return _bootstrap._gcd_import(name[level:], package, level)
2023-11-15 08:07:55  [Error] [omni.ext._impl._internal]   File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
2023-11-15 08:07:55  [Error] [omni.ext._impl._internal]   File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
2023-11-15 08:07:55  [Error] [omni.ext._impl._internal]   File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
2023-11-15 08:07:55  [Error] [omni.ext._impl._internal]   File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
2023-11-15 08:07:55  [Error] [omni.ext._impl._internal]   File "<frozen importlib._bootstrap_external>", line 883, in exec_module
2023-11-15 08:07:55  [Error] [omni.ext._impl._internal]   File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
2023-11-15 08:07:55  [Error] [omni.ext._impl._internal]   File "c:/projects/omniverse_test/sk_integration/exts/omni.sk.test/omni/sk/test/__init__.py", line 1, in <module>
2023-11-15 08:07:55  [Error] [omni.ext._impl._internal]     from .extension import *
2023-11-15 08:07:55  [Error] [omni.ext._impl._internal]   File "c:/projects/omniverse_test/sk_integration/exts/omni.sk.test/omni/sk/test/extension.py", line 7, in <module>
2023-11-15 08:07:55  [Error] [omni.ext._impl._internal]     import semantic_kernel as sk
2023-11-15 08:07:55  [Error] [omni.ext._impl._internal]   File "C:\Users\pranav.buradkar\AppData\Local\ov\data\Kit\USD.Composer\2023.2\pip3-envs\default\semantic_kernel\__init__.py", line 3, in <module>
2023-11-15 08:07:55  [Error] [omni.ext._impl._internal]     from semantic_kernel import core_skills, memory
2023-11-15 08:07:55  [Error] [omni.ext._impl._internal]   File "C:\Users\pranav.buradkar\AppData\Local\ov\data\Kit\USD.Composer\2023.2\pip3-envs\default\semantic_kernel\core_skills\__init__.py", line 6, in <module>
2023-11-15 08:07:55  [Error] [omni.ext._impl._internal]     from semantic_kernel.core_skills.file_io_skill import FileIOSkill
2023-11-15 08:07:55  [Error] [omni.ext._impl._internal]   File "C:\Users\pranav.buradkar\AppData\Local\ov\data\Kit\USD.Composer\2023.2\pip3-envs\default\semantic_kernel\core_skills\file_io_skill.py", line 8, in <module>
2023-11-15 08:07:55  [Error] [omni.ext._impl._internal]     from semantic_kernel.sk_pydantic import PydanticField
2023-11-15 08:07:55  [Error] [omni.ext._impl._internal]   File "C:\Users\pranav.buradkar\AppData\Local\ov\data\Kit\USD.Composer\2023.2\pip3-envs\default\semantic_kernel\sk_pydantic.py", line 13, in <module>
2023-11-15 08:07:55  [Error] [omni.ext._impl._internal]     class PydanticField(abc.ABC):
2023-11-15 08:07:55  [Error] [omni.ext._impl._internal]   File "C:\Users\pranav.buradkar\AppData\Local\ov\data\Kit\USD.Composer\2023.2\pip3-envs\default\semantic_kernel\sk_pydantic.py", line 48, in PydanticField
2023-11-15 08:07:55  [Error] [omni.ext._impl._internal]     cls: t.Type[te.Self],
2023-11-15 08:07:55  [Error] [omni.ext._impl._internal] AttributeError: module 'typing_extensions' has no attribute 'Self'
2023-11-15 08:07:55  [Error] [omni.ext._impl._internal] 
2023-11-15 08:07:55  [Error] [carb.scripting-python.plugin] Exception: Extension python module: 'omni.sk.test' in 'c:\projects\omniverse_test\sk_integration\exts\omni.sk.test' failed to load.
2023-11-15 08:07:55  [Error] [carb.scripting-python.plugin] 
2023-11-15 08:07:55  [Error] [carb.scripting-python.plugin] At:
2023-11-15 08:07:55  [Error] [carb.scripting-python.plugin]   c:\users/pranav.buradkar/appdata/local/ov/pkg/create-2023.2.0/kit/kernel/py\omni\ext\_impl\_internal.py(213): startup
2023-11-15 08:07:55  [Error] [carb.scripting-python.plugin]   c:\users/pranav.buradkar/appdata/local/ov/pkg/create-2023.2.0/kit/kernel/py\omni\ext\_impl\_internal.py(328): startup_extension
2023-11-15 08:07:55  [Error] [carb.scripting-python.plugin]   PythonExtension.cpp::startup()(2): <module>
2023-11-15 08:07:55  [Error] [carb.scripting-python.plugin]   c:/users/pranav.buradkar/appdata/local/ov/pkg/create-2023.2.0/extscache/omni.kit.window.extensions-1.3.0+dd92291b/omni/kit/window/extensions/ext_commands.py(29): do
2023-11-15 08:07:55  [Error] [carb.scripting-python.plugin]   c:/users/pranav.buradkar/appdata/local/ov/pkg/create-2023.2.0/extscache/omni.kit.commands-1.4.6+dd92291b.wx64.r.cp310/omni/kit/undo/undo.py(80): execute
2023-11-15 08:07:55  [Error] [carb.scripting-python.plugin]   c:/users/pranav.buradkar/appdata/local/ov/pkg/create-2023.2.0/extscache/omni.kit.commands-1.4.6+dd92291b.wx64.r.cp310/omni/kit/commands/command.py(463): execute
2023-11-15 08:07:55  [Error] [carb.scripting-python.plugin]   c:/users/pranav.buradkar/appdata/local/ov/pkg/create-2023.2.0/extscache/omni.kit.window.extensions-1.3.0+dd92291b/omni/kit/window/extensions/common.py(288): toggle_extension
2023-11-15 08:07:55  [Error] [carb.scripting-python.plugin]   c:/users/pranav.buradkar/appdata/local/ov/pkg/create-2023.2.0/extscache/omni.kit.window.extensions-1.3.0+dd92291b/omni/kit/window/extensions/ext_components.py(93): toggle
2023-11-15 08:07:55  [Error] [carb.scripting-python.plugin] 
2023-11-15 08:07:55  [Error] [omni.ext.plugin] [ext: omni.sk.test-1.0.0] Failed to startup python extension.
2023-11-15 08:07:55  [Info] [omni.ext.plugin] [ext: omni.sk.test-1.0.0] started, startup time: 377 (ms)
2023-11-15 08:07:55  [Info] [ogn_registration] Looking for Python nodes to register in omni.sk.test-1.0.0
2023-11-15 08:07:55  [Info] [ogn_registration]  -> Registered nodes from module omni.sk.test at c:\projects\omniverse_test\sk_integration\exts\omni.sk.test
2023-11-15 08:07:55  [Info] [ogn_registration] Registering nodes in c:\projects\omniverse_test\sk_integration\exts\omni.sk.test imported as omni.sk.test
2023-11-15 08:07:55  [Info] [ogn_registration] Registering Python Node Types from omni.sk.test at c:\projects\omniverse_test\sk_integration\exts\omni.sk.test in omni.sk.test
2023-11-15 08:07:55  [Info] [ogn_registration] ========================================================================================================================