isaac-sim / IsaacLab

Unified framework for robot learning built on NVIDIA Isaac Sim
https://isaac-sim.github.io/IsaacLab
Other
1.98k stars 791 forks source link

[Bug Report] Isaac Lab PIP Installation and Vscode Setup #629

Closed Mayankm96 closed 2 months ago

Mayankm96 commented 3 months ago

Discussed in https://github.com/isaac-sim/IsaacLab/discussions/620

Originally posted by **evanzijianhe** July 2, 2024 I installed the Isaac Sim by using pip install method, and also installed the Isaac Lab following the instruction. I was able to run the testing code to verify the installation. However, I have some questions regarding Vscode setup: 1. Do we still need to run the `setup_python_env` in the IsaacLab and IsaacLabExtensionTemplate if I was using pip install? I tried, it was impossible to properly execute it, because `_isaac_sim` symbolic link was missed. Does it mean we still need to install the IsaacSim using omniuniverse-launch and setup path for `_isaac_sim`? 2. Can we install IsaacSim use both pip and pre-built binaries methods? 3. When I import functions from omni.isaac.lab class, those function are unknown( but program can be executed). Is this normal? ![Screenshot from 2024-07-02 15-41-10](https://github.com/isaac-sim/IsaacLab/assets/41100228/de944e0a-f8f6-4821-bdde-0bf79c5bd88a) Can someone helped to answer those questions? Thank you very much!
evanzijianhe commented 3 months ago

Hi Mayank. Thanks for your helps. I have tested this fix. There was no .vscode fold in the isaacsim fold in anaconda, so I could not find anaconda3/envs/isaaclab/lib/python3.10/site-packages/isaacsim/.vscode/settings.json.

However, I found that the settings.json file exits in the isaacsim/extscache/omni.kit.window.extensions/ext_template/vscode, so I manually created a .vscode fold in the root of isaacsim folder and copy the settings.json to here. Then, everything is fine.

Mayankm96 commented 3 months ago

@evanzijianhe PR #631 should solve the issue here.