warp
warp copied to clipboard
[QUESTION] Cannot import 'omni'
I want to write a clothes simulation program following exts/omni.warp/omni/warp/nodes/_impl/OgnClothSimulate.py. However, I cannot import omni in the code.
ModuleNotFoundError: No module named 'omni'
Hi @biansy000, are you running import omni from within an Omniverse application? The exts folder is dedicated to extensions for the Omniverse platform, so it won't run in a standalone Python environment. You can check warp/examples/sim/example_cloth.py for the latter.