Hello, I’ve been trying to integrate the packages from Python Environment Installation — Omniverse IsaacSim latest documentation into my bazel build. I have the requirements locally, but running in the bazel sandbox, but I seem to be hitting issues with the internal vs external kit layout.
if I do:
from isaacsim import SimulationApp
Things fail, I’ve walked through the python code and found that all of our deps are next to each other, this seems to resemble the Issac layout, which appears different than the layout seen when pip installing wheels into the venv.
We’ve found that by explicitly adding additional paths to the sys.path, we can get a bit further,
eg adding pip_deps_omniverse_kit/site-packages/omni/kernel/py, pip_deps_isaacsim_core/site-packages/isaacsim/exts/omni.isaac.kit
seems allow us to create the SimulationApp,
But we are still getting:
2024-08-08 03:28:31 [1,079ms] [Error] [omni.ext.plugin] Failed to resolve extension dependencies. Failure hints:
[omni.isaac.sim.python-4.1.0] dependency: ‘omni.importer.mjcf’ = { version=‘^’ } can’t be satisfied. Available versions:
… and
from omni.kit.usd import layers
ModuleNotFoundError: No module named ‘omni.kit.usd’
I’m wondering if anyone has succeeded in using these python packages in bazel?
Thanks
Gedalia