Isaac Sim Version
[v] 4.5.0
[v] 4.2.0
Operating System
[v] Windows 11
GPU Information
- Model: geforce 3060
- Driver Version: 560.94
đ§” Topic 1: Extension âisaacsim.asset.browserâ fails to load due to circular import in requests module
Detailed Description
Iâm using Isaac Sim (build version 4.5.0) on Windows 11.
When launching Isaac Sim, I receive an error indicating that the isaacsim.asset.browser
extension fails to load due to a circular import issue in the requests
library.
I expected the Asset Browser to load without issue, but instead I encountered a crash with traceback pointing to requests.utils
and parse_dict_header
.
Steps to Reproduce
- Launch Isaac Sim (build 4.5.0)
- Wait for all extensions to initialize
- Observe errors in the console/log regarding
isaacsim.asset.browser
Error Messages
Error: cannot import name 'parse_dict_header' from partially initialized module 'requests.utils'
(most likely due to a circular import)
(c:/users/kiro/appdata/local/ov/pkg/isaac_sim_450/exts/omni.pip.cloud/pip_prebundle/requests/utils.py)
...
[ext: isaacsim.asset.browser-1.3.4] Failed to startup python extension.
2025-04-07 14:01:11 [7,893ms] [Error] [omni.importer.onshape.client] onshape dependencies not found
2025-04-07 14:01:11 [7,905ms] [Error] [omni.ext.impl.custom_importer] Failed to import python module isaacsim.asset.browser. Error: cannot import name âparse_dict_headerâ from partially initialized module ârequests.utilsâ (most likely due to a circular import) (c:/users/kiro/appdata/local/ov/pkg/isaac_sim_450/exts/omni.pip.cloud/pip_prebundle/requests/utils.py). Traceback:
Traceback (most recent call last):
File âc:\users/kiro/appdata/local/ov/pkg/isaac_sim_450/kit/kernel/py\omni\ext_impl\custom_importer.pyâ, line 76, in import_module
return importlib.import_module(name)
File "c:\users\kiro\appdata\local\ov\pkg\isaac_sim_450\kit\python\lib\importlib_init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File ââ, line 1050, in _gcd_import
File ââ, line 1027, in _find_and_load
File ââ, line 1006, in _find_and_load_unlocked
File ââ, line 688, in _load_unlocked
File ââ, line 883, in exec_module
File ââ, line 241, in _call_with_frames_removed
File âc:/users/kiro/appdata/local/ov/pkg/isaac_sim_450/exts/isaacsim.asset.browser/isaacsim/asset/browser/init.pyâ, line 11, in
from .extension import AssetBrowserExtension, get_instance
File âc:/users/kiro/appdata/local/ov/pkg/isaac_sim_450/exts/isaacsim.asset.browser/isaacsim/asset/browser/extension.pyâ, line 18, in
from .window import AssetBrowserWindow
File âc:/users/kiro/appdata/local/ov/pkg/isaac_sim_450/exts/isaacsim.asset.browser/isaacsim/asset/browser/window.pyâ, line 18, in
from .delegate import AssetDetailDelegate
File âc:/users/kiro/appdata/local/ov/pkg/isaac_sim_450/exts/isaacsim.asset.browser/isaacsim/asset/browser/delegate.pyâ, line 20, in
from .context_menu import ContextMenu
File âc:/users/kiro/appdata/local/ov/pkg/isaac_sim_450/exts/isaacsim.asset.browser/isaacsim/asset/browser/context_menu.pyâ, line 16, in
import requests
File âc:/users/kiro/appdata/local/ov/pkg/isaac_sim_450/exts/omni.pip.cloud/pip_prebundle/requests/init.pyâ, line 164, in
from .api import delete, get, head, options, patch, post, put, request
File âc:/users/kiro/appdata/local/ov/pkg/isaac_sim_450/exts/omni.pip.cloud/pip_prebundle/requests/api.pyâ, line 11, in
from . import sessions
File âc:/users/kiro/appdata/local/ov/pkg/isaac_sim_450/exts/omni.pip.cloud/pip_prebundle/requests/sessions.pyâ, line 15, in
from .adapters import HTTPAdapter
File âc:/users/kiro/appdata/local/ov/pkg/isaac_sim_450/exts/omni.pip.cloud/pip_prebundle/requests/adapters.pyâ, line 32, in
from .auth import _basic_auth_str
File âc:/users/kiro/appdata/local/ov/pkg/isaac_sim_450/exts/omni.pip.cloud/pip_prebundle/requests/auth.pyâ, line 19, in
from .utils import parse_dict_header
ImportError: cannot import name âparse_dict_headerâ from partially initialized module ârequests.utilsâ (most likely due to a circular import) (c:/users/kiro/appdata/local/ov/pkg/isaac_sim_450/exts/omni.pip.cloud/pip_prebundle/requests/utils.py)
2025-04-07 14:01:11 [7,906ms] [Error] [carb.scripting-python.plugin] Exception: Extension python module: âisaacsim.asset.browserâ in âc:\users\kiro\appdata\local\ov\pkg\isaac_sim_450\exts\isaacsim.asset.browserâ failed to load.
At:
c:\users/kiro/appdata/local/ov/pkg/isaac_sim_450/kit/kernel/py\omni\ext_impl_internal.py(213): startup
c:\users/kiro/appdata/local/ov/pkg/isaac_sim_450/kit/kernel/py\omni\ext_impl_internal.py(328): startup_extension
PythonExtension.cpp::startup()(2):
2025-04-07 14:01:11 [7,906ms] [Error] [omni.ext.plugin] [ext: isaacsim.asset.browser-1.3.4] Failed to startup python extension.
Additional Information
What Iâve Tried
- I tried restarting Isaac Sim
- Verified the file structure under
pip_prebundle/requests/
- Looked into replacing the
requests
module but was unsure if safe under theomni.pip.cloud
environment
Related Issues
N/A â havenât found a matching thread yet
Additional Context
This might be related to the bundled requests
library or its improper initialization due to the Isaac Sim import system. The issue blocks the Asset Browser extension from loading properly.
đ§” Topic 2: AttributeError in get_root_velocities()
when using Humanoid example
Detailed Description
When running the humanoid example in isaacsim.examples.interactive
, the simulation crashes after a few seconds due to a missing attribute in the backend during velocity computation.
I expected the simulation to proceed and compute the humanoidâs velocity, but instead, it raises an AttributeError related to a NoneType
object.
Steps to Reproduce
- Open Isaac Sim (build 4.5.0)
- Run the humanoid example script (
humanoid_example.py
) - Observe crash during physics update steps
Error Messages
AttributeError: 'NoneType' object has no attribute 'count'
...
File "api.py", line 1315, in get_root_velocities
self._root_velocities, self._root_velocities_desc = self._frontend.create_tensor((self.count, 6), float32)
2025-04-07 14:11:03 [599,630ms] [Warning] [isaacsim.core.prims.impl.articulation] Articulation needs to be initialized.
2025-04-07 14:11:03 [599,631ms] [Error] [omni.kit.app._impl] [py stderr]: Traceback (most recent call last):
2025-04-07 14:11:03 [599,631ms] [Error] [omni.kit.app._impl] [py stderr]: File âc:/users/kiro/appdata/local/ov/pkg/isaac_sim_450/exts/isaacsim.examples.interactive/isaacsim/examples/interactive/humanoid/humanoid_example.pyâ, line 75, in on_physics_step
2025-04-07 14:11:03 [599,631ms] [Error] [omni.kit.app._impl] [py stderr]: self.h1.forward(step_size, self._base_command)
2025-04-07 14:11:03 [599,631ms] [Error] [omni.kit.app._impl] [py stderr]: File âc:/users/kiro/appdata/local/ov/pkg/isaac_sim_450/exts/isaacsim.robot.policy.examples/isaacsim/robot/policy/examples/robots/h1.pyâ, line 106, in forward
50/exts/isaacsim.core.prims/isaacsim/core/prims/impl/articulation.py", line 2251, in get_linear_velocities
2025-04-07 14:11:03 [599,633ms] [Error] [omni.kit.app._impl] [py stderr]: linear_velocities = self._physics_view.get_root_velocities()
2025-04-07 14:11:03 [599,633ms] [Error] [omni.kit.app._impl] [py stderr]: File âc:/users/kiro/appdata/local/ov/pkg/isaac_sim_450/extsphysics/omni.physics.tensors/omni/physics/tensors/impl/api.pyâ, line 1315, in get_root_velocities
2025-04-07 14:11:03 [599,634ms] [Error] [omni.kit.app._impl] [py stderr]: self._root_velocities, self._root_velocities_desc = self._frontend.create_tensor((self.count, 6), float32)
2025-04-07 14:11:03 [599,634ms] [Error] [omni.kit.app._impl] [py stderr]: File âc:/users/kiro/appdata/local/ov/pkg/isaac_sim_450/extsphysics/omni.physics.tensors/omni/physics/tensors/impl/api.pyâ, line 534, in count
2025-04-07 14:11:03 [599,634ms] [Error] [omni.kit.app._impl] [py stderr]: return self._backend.count
2025-04-07 14:11:03 [599,634ms] [Error] [omni.kit.app._impl] [py stderr]: AttributeError: âNoneTypeâ object has no attribute âcountâ
Additional Information
What Iâve Tried
- Confirmed this happens on a fresh install of Isaac Sim
- Verified physics extension was enabled
- Tried delaying physics steps but issue persists
Related Issues
N/A â no existing threads found with similar traceback
Additional Context
It seems like the _backend
in omni.physics.tensors.impl.api
is not initialized or loaded correctly, possibly due to a race condition or missing dependency during extension startup. Iâd appreciate guidance on how to ensure articulation/physics backend is fully initialized before the script proceeds.