Issue with Python Environment: NVIDIA Isaac Sim and Omniverse Python Package Import Errors

Note: For any Isaac Lab topics, please submit your topic to its GitHub repo (GitHub - isaac-sim/IsaacLab: Unified framework for robot learning built on NVIDIA Isaac Sim) following the instructions provided on Isaac Lab’s Contributing Guidelines (Contribution Guidelines — Isaac Lab Documentation).

Please provide all relevant details below before submitting your post. This will help the community provide more accurate and timely assistance. After submitting, you can check the appropriate boxes. Remember, you can always edit your post later to include additional information if needed.

Isaac Sim Version

4.5.0
4.2.0
4.1.0
4.0.0
4.5.0
2023.1.1
2023.1.0-hotfix.1
Other (please specify):

Operating System

Ubuntu 22.04
Ubuntu 20.04
Windows 11
Windows 10
Other (please specify):

GPU Information

  • Model : A4000
  • Driver Version: 535

Topic Description

Issue with Python Environment: NVIDIA Isaac Sim and Omniverse Python Package Import Errors

Detailed Description

I followed the instructions here:

I’m sorry for the possiiblity of this quesiton possibly being really easy but im realtively new to isaacsim, and i have not seen this issue before

Initially, I set up a standard Python environment, but when that didn’t work, I switched to Conda thinking it might resolve any environment-specific issues. However, the same problem persists in the Conda environment.

Steps to Reproduce

  1. Activated the Conda environment.
  2. Sourced the setup_conda_env.sh script from Isaac Sim and opened vscode
  3. Some packages import correctly, but others fail.

Error Messages

(If applicable, copy and paste any error messages you received)

Screenshots or Videos




image

vscode setup


if you are experiencing the same problem that i do just use this tool GitHub - SevenFo/manager_isaacsim_link: 这是一个为 Isaac Sim Python 包创建符号链接的工具,旨在改善IDE(如VSCode)中的代码自动补全功能。通过创建从site-packages目录到Isaac Sim包的符号链接,使IDE能够正确识别和索引Isaac Sim的Python模块和类。, worked for me well so far.

1 Like

This issue will be addressed in the next release. You’ll be able to resolve it by running:
python -m isaacsim --generate-vscode-settings

This command will generate a .vscode/settings.json file in your workspace folder.

2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.