isaac-sim / IsaacLab

Unified framework for robot learning built on NVIDIA Isaac Sim
https://isaac-sim.github.io/IsaacLab
Other
2.32k stars 960 forks source link

[Question] No module named 'omni.isaac #1458

Closed MiangChen closed 4 days ago

MiangChen commented 4 days ago

Describe the bug

i try to run create_empty.py, the bug No module named 'omni.isaac' occurs but the package omni has been installed

2024-11-25 16-05-55 的屏幕截图

Steps to reproduce

when I run

 ./isaaclab.sh -p source/standalone/tutorials/00_sim/create_empty.py

python source/standalone/tutorials/00_sim/create_empty.py

the bug occurs:

Traceback (most recent call last):
  File "/home/ubuntu/Downloads/IsaacLab/source/standalone/tutorials/00_sim/create_empty.py", line 20, in <module>
    from omni.isaac.lab.app import AppLauncher
ModuleNotFoundError: No module named 'omni.isaac'

System Info

My Isaac Sim is 4.2.0 installed from the Omniverse. I have done a Create Isaac Sim Symbolic Link according to the guide. I have run ./isaaclab.sh --install

MiangChen commented 4 days ago

I have also tried source setup_conda_env.sh, still not working

MiangChen commented 4 days ago

Finally, I followed this approach to solve the issue. https://forums.developer.nvidia.com/t/no-module-named-omni-isaac/197312/8?u=2594416505 Since Omni cannot be installed via pip install, the local version of Omni needs to be used here.