Skip to content

IDE Set Up with Isaac Lab 2.0 not working #49

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
bamertsa opened this issue Feb 4, 2025 · 1 comment
Open

IDE Set Up with Isaac Lab 2.0 not working #49

bamertsa opened this issue Feb 4, 2025 · 1 comment

Comments

@bamertsa
Copy link

bamertsa commented Feb 4, 2025

Hello,

After following the installation instructions and verifying my installation by running python scripts/rsl_rl/train.py --task=Template-Isaac-Velocity-Rough-Anymal-D-v0 I was not able to setup vscode according to the installation guide.

When I run the setup_python_env task I am faced with the following error:

Executing task: ${HOME}/.local/share/ov/pkg/isaac_sim-4.2.0/python.sh /home/bamertsa/IsaacLabExtensionTemplate/.vscode/tools/setup_vscode.py --isaac_path ${HOME}/.local/share/ov/pkg/isaac_sim-4.2.0 

/bin/bash: line 1: /home/bamertsa/.local/share/ov/pkg/isaac_sim-4.2.0/python.sh: No such file or directory

 *  The terminal process "/bin/bash '-c', '${HOME}/.local/share/ov/pkg/isaac_sim-4.2.0/python.sh /home/bamertsa/IsaacLabExtensionTemplate/.vscode/tools/setup_vscode.py --isaac_path ${HOME}/.local/share/ov/pkg/isaac_sim-4.2.0'" failed to launch (exit code: 127). 

As you can see the default Isaac Sim path is pointing to the wrong version. The description of the path selection screen, states that if Isaac Sim is installed via pip (which I did) the path can be ignored. The error above suggests otherwise however. Changing the version to the correct one (i.e. Isaac Sim 4.5.0) did not help either, as there is not isaac_sim-4.5.0 in the above mentioned directory.

Thank you for your help!

@joshwa71
Copy link

joshwa71 commented Feb 5, 2025

2nd this.

I get the same error after installing IsaacSim via pip in a conda environment, then installing IsaacLab in this env.

I get the following error running the task with empty IsaacSim path (as instructed for pip installed isaacsim):

 *  Executing task: /python.sh /home/josh/Dev/IsaacLabExtensionTemplate/.vscode/tools/setup_vscode.py --isaac_path  

/usr/bin/bash: line 1: /python.sh: No such file or directory

 *  The terminal process "/usr/bin/bash '-c', '/python.sh /home/josh/Dev/IsaacLabExtensionTemplate/.vscode/tools/setup_vscode.py --isaac_path '" failed to launch (exit code: 127). 
 *  Terminal will be reused by tasks, press any key to close it. 

If I do:

>>> import os
>>> isaacsim_dir = os.environ.get("ISAAC_PATH", "")
>>> print(isaacsim_dir)
/home/josh/anaconda3/envs/env_isaaclab/lib/python3.10/site-packages/isaacsim

and use this directory for the task I get a similar error:

 *  Executing task: /home/josh/anaconda3/envs/env_isaaclab/lib/python3.10/site-packages/isaacsim/python.sh /home/josh/Dev/IsaacLabExtensionTemplate/.vscode/tools/setup_vscode.py --isaac_path /home/josh/anaconda3/envs/env_isaaclab/lib/python3.10/site-packages/isaacsim 

/usr/bin/bash: line 1: /home/josh/anaconda3/envs/env_isaaclab/lib/python3.10/site-packages/isaacsim/python.sh: No such file or directory

 *  The terminal process "/usr/bin/bash '-c', '/home/josh/anaconda3/envs/env_isaaclab/lib/python3.10/site-packages/isaacsim/python.sh /home/josh/Dev/IsaacLabExtensionTemplate/.vscode/tools/setup_vscode.py --isaac_path /home/josh/anaconda3/envs/env_isaaclab/lib/python3.10/site-packages/isaacsim'" failed to launch (exit code: 127). 
 *  Terminal will be reused by tasks, press any key to close it. 

Any help here would be great!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants