Replies: 1 comment
-
|
Thank you for posting this question. I'll move it to our Discussions section for follow up. Here is a summary that you may find helpful. Thank you for your interest in Isaac Lab. Isaac Sim & Isaac Lab Developer Environment: Clarification and Best Practices1. Purpose of
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello Isaac Lab Team,
First, thank you for your work on this incredible project. I've successfully managed to get training scripts running with the latest
feature/isaacsim_5_0branch and a source build of Isaac Sim. However, I am very confused about the intended developer environment and workflow, and I'm concerned my current working state might not be correct or robust for future development.My Setup:
Ubuntu 22.04RTX 5070 Ti(requiring the nightly PyTorch build, which is installed and working)feature/isaacsim_5_0branch of Isaac Lab. Everything is located in a parent directory, like~/project_isaac/, withIsaacSimandIsaacLabas siblings inside. The symbolic link_isaac_simhas been created correctly../isaaclab.sh -p scripts/reinforcement_learning/skrl/train.py --task Isaac-Ant-v0.My Question and Point of Confusion:
My main issue is with the environment setup scripts. When I run
source ../IsaacSim/_build/linux-x86_64/release/setup_conda_env.shorsource ../IsaacSim/_build/linux-x86_64/release/setup_python_env.sh, nothing seems to happen. No new activatable environment appears inconda env list, novenvfolder is created, and my shell prompt does not change.This has led me to work without an explicitly "activated" environment, which feels fragile. I would be grateful for clarification on the following points:
Purpose of Setup Scripts: What is the intended purpose of the
setup_conda_env.shandsetup_python_env.shscripts? Are they supposed to create a persistent environment that developers should activate manually in new sessions, and if so, how?Recommended Workflow: What is the official, recommended workflow for developing within Isaac Lab? Should we always rely on the
./isaaclab.sh -plauncher to run our scripts, or is there a way to "enter" the correct development environment first so that commands likepythonandpipare correctly pathed?Potential Future Issues: Will my current approach—working without an explicitly activated environment—cause issues later when I need to install additional packages with
pipor work on more complex, multi-terminal ROS 2 projects that need to interface with the correct Python interpreter?IDE Configuration: For IDE integration, specifically with VS Code, what is the definitive path to the Python interpreter that we should configure in
settings.json? Is it the one located at.../_build/linux-x86_64/release/kit/python/bin/python3, or is there another intended method?Beta Was this translation helpful? Give feedback.
All reactions