You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running any script with isaaclab.sh -p that imports isaaclab fails:
$ isaaclab.sh -p my_script.py --headless
[INFO] Using python from: /home/user/IsaacLab/_isaac_sim/python.sh
ModuleNotFoundError: No module named 'isaaclab'
However, isaacsim imports fine:
>>>importisaacsim# OK - found at _isaac_sim/python_packages/isaacsim/>>>importisaaclab# FAILS
pip list in the kit Python shows 266 packages (torch, ROS2 msgs, etc.) but no isaaclab* packages at all.
The source/isaaclab/setup.py exists on disk but has never been installed into the kit Python environment.
What I tried
unset VIRTUAL_ENV && isaaclab.sh -p my_script.py → same error
Direct _isaac_sim/python.sh my_script.py → same error
Confirmed CONDA_PREFIX is not set
Question
Is isaaclab.sh --install (i.e., isaaclab.sh -i) a required setup step before isaaclab.sh -p can work with a binary Isaac Sim install? The installation docs mention running the installer, but I want to confirm:
Is isaaclab.sh -i the correct fix for this?
Are there any known issues with isaaclab.sh -i on Isaac Sim 5.1.0-rc.19?
Does -i modify the kit Python's site-packages in-place, or does it require a venv/conda env?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Environment
IsaacLab/_isaac_sim)mainbranch (source atIsaacLab/source/isaaclab/)_isaac_sim/kit/python/bin/python3.11)Problem
Running any script with
isaaclab.sh -pthat importsisaaclabfails:However,
isaacsimimports fine:pip listin the kit Python shows 266 packages (torch, ROS2 msgs, etc.) but noisaaclab*packages at all.The
source/isaaclab/setup.pyexists on disk but has never been installed into the kit Python environment.What I tried
unset VIRTUAL_ENV && isaaclab.sh -p my_script.py→ same error_isaac_sim/python.sh my_script.py→ same errorCONDA_PREFIXis not setQuestion
Is
isaaclab.sh --install(i.e.,isaaclab.sh -i) a required setup step beforeisaaclab.sh -pcan work with a binary Isaac Sim install? The installation docs mention running the installer, but I want to confirm:isaaclab.sh -ithe correct fix for this?isaaclab.sh -ion Isaac Sim 5.1.0-rc.19?-imodify the kit Python'ssite-packagesin-place, or does it require a venv/conda env?Any guidance appreciated. Thanks!
Beta Was this translation helpful? Give feedback.
All reactions