Hello, I am currently working on an omniverse kit app that we are trying to add Isaac sim’s (4.5.0) functionality through an extension the adds a robot to the environment and navigates it leveraging the NVIDIA training policy. I am having trouble building my app to identify the appropriate imports. Currently my extension.py
code begins with:
from isaacsim.simulation_app import SimulationApp
from isaacsim.core.api.world import World
And my .kit file includes the following dependencies
"isaacsim.simulation_app" = { version = "2.1.4" }
"isaacsim.core.api.world" = { version = "0.3.7" }
yet when I run .\repo.bat build
in my terminal (VS Code from the kit app folder) I receive an error stating [Error] [omni.ext.plugin] Failed to resolve extension dependencies. Failure hints: [company.app-0.1.0] dependency: 'isaacsim.core.api' = { version='^0.3.7' } can't be satisfied. Available versions: (none found)
Has anyone else experienced this? Any recommendations or advice would be very much appreciated!
Update: I added the following and build succeeds, but now when launching I still see [Error] [omni.ext._impl.custom_importer] Failed to import python module company.extension. Error: No module named 'isaacsim'. Traceback: Traceback (most recent call last): File "path/kit-app-template/_build/windows-x86_64/release/kit/kernel/py\omni\ext\_impl\custom_importer.py", line 76, in import_module return importlib.import_module(name)
What I added for build to succeed:
import omni.kit.pipapi
omni.kit.pipapi.install(
package = "isaacsim",
)
import isaacsim
from isaacsim.simulation_app import SimulationApp
simulation_app = SimulationApp({"headless": False}) # start the simulation app, with GUI open
omni.kit.pipapi.install(
package = "isaacsim-core",
)
from isaacsim.core.api.world import World
from isaacsim.core.utils.prims import define_prim, get_prim_at_path