Repository navigation
Replies: 1 comment
|
Yes — based on what you've described, the missing installation step is the first thing to fix. Having "source/isaaclab/setup.py" on disk doesn't make the "isaaclab" package importable. You need to install the Isaac Lab packages into the Python environment you're using to run your scripts. From the root of your IsaacLab checkout, run: ./isaaclab.sh --install Then verify the installation using the same Python environment: ./isaaclab.sh -p -c "import isaaclab; print(isaaclab.file)" If you're on Windows, use "isaaclab.bat --install" and the corresponding "isaaclab.bat" Python command. The official binary-installation guide documents this installation step: If the import still fails after installation, check that you're running the script with the same environment that the installer used. |
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!
All reactions