Trying to run standalone project from terminal, but getting KeyError: 'EXP_PATH'

Hello, im currently trying to run a standalone project im working on, but using the env_isaacsim I get the this error
Traceback (most recent call last):
File “/media/bullis/Data/bin-picking-project/scripts/main.py”, line 4, in
simulation_app = SimulationApp({“headless”: False})
File “/media/bullis/Data/isaac-sim/pkg/isaac-sim-4.1.0/exts/omni.isaac.kit/omni/isaac/kit/simulation_app.py”, line 179, in init
experience = f’{os.environ[“EXP_PATH”]}/omni.isaac.sim.python.kit’
File “/media/bullis/Data/isaac-sim/pkg/isaac-sim-4.1.0/kit/python/lib/python3.10/os.py”, line 680, in getitem
raise KeyError(key) from None
KeyError: ‘EXP_PATH’

and im wondering what might be the issue here, i am not able to figure it out
thank you

To resolve the KeyError: ‘EXP_PATH’ issue, please refer to Python Environment — Omniverse IsaacSim latest documentation about EXP_PATH. This section explains how the EXP_PATH environment variable is set and used within the context of standalone scripts. Specifically, the EXP_PATH is defined in the python.sh script, which sets the path to the apps directory relative to the script’s location. Make sure to execute this script or manually set the EXP_PATH in your terminal session before running your project.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.