win11 isaacsim 5.1.0 和lab配置

这里的环境是win11,默认配置isaacsim5.1到C盘以及安装isaaclab2.3.0到D盘。梳理流程后,也可以将目前的模块安装到其他路径。

1. 下载和安装sim

https://docs.isaacsim.omniverse.nvidia.com/latest/introduction/examples.html

下载软件包后运行命令:

复制代码
mkdir C:\isaacsim
cd %USERPROFILE%/Downloads
tar -xvzf "isaac-sim-standalone-5.1.0-windows-x86_64.zip" -C C:\isaacsim
cd C:\isaacsim
post_install.bat

启动:

复制代码
isaac-sim.bat

2. 安装lab

https://isaac-sim.github.io/IsaacLab/main/source/setup/installation/binaries_installation.html

首先测试文件关联,这里默认isaacsim的目录在C盘:

复制代码
:: Isaac Sim root directory
set ISAACSIM_PATH="C:\isaacsim"
:: Isaac Sim python executable
set ISAACSIM_PYTHON_EXE="%ISAACSIM_PATH:"=%\python.bat"

测试启动sim:

复制代码
:: note: you can pass the argument "--help" to see all arguments possible.
%ISAACSIM_PATH%\isaac-sim.bat

测试运行standalone脚本:

复制代码
:: checks that python path is set correctly
%ISAACSIM_PYTHON_EXE% -c "print('Isaac Sim configuration is now complete.')"
:: checks that Isaac Sim can be launched from python
%ISAACSIM_PYTHON_EXE% %ISAACSIM_PATH%\standalone_examples\api\isaacsim.core.api\add_cubes.py

由于我曾经安装过4.5, 5.0,所以尝试clean掉之前的缓存等文件,避免冲突:

复制代码
%ISAACSIM_PATH%\isaac-sim.bat --reset-user

下载lab包:

复制代码
git clone https://github.com/isaac-sim/IsaacLab.git

将之前安装进C盘的sim路径关联到目前的Lab仓库

复制代码
:: enter the cloned repository
cd IsaacLab
:: create a symbolic link - requires launching Command Prompt with Administrator access
mklink /D _isaac_sim %ISAACSIM_PATH%

:: For example:
:: Option 1: If pre-built binaries were installed:
:: mklink /D _isaac_sim C:\isaacsim
::
:: Option 2: If Isaac Sim was built from source:
:: mklink /D _isaac_sim C:\IsaacSim\_build\windows-x86_64\release

准备conda环境,安装好anaconda/miniconda后再lab目录中执行:

复制代码
:: Option 1: Default environment name 'env_isaaclab'
isaaclab.bat --conda  :: or "isaaclab.bat -c"
:: Option 2: Custom name
isaaclab.bat --conda my_env  :: or "isaaclab.bat -c my_env"

进入conda env, 安装isaaclab仓库:

复制代码
isaaclab.bat --install

这里最好有梯子,如果报错就重复运行安装命令,直到出现:

测试环境:

复制代码
isaaclab.bat -p scripts\tutorials\00_sim\create_empty.py
相关推荐
Java后端的Ai之路7 小时前
【Python 教程15】-Python和Web
python
冬奇Lab8 小时前
一天一个开源项目(第15篇):MapToPoster - 用代码将城市地图转换为精美的海报设计
python·开源
二十雨辰10 小时前
[python]-AI大模型
开发语言·人工智能·python
Yvonne爱编码10 小时前
JAVA数据结构 DAY6-栈和队列
java·开发语言·数据结构·python
前端摸鱼匠11 小时前
YOLOv8 环境配置全攻略:Python、PyTorch 与 CUDA 的和谐共生
人工智能·pytorch·python·yolo·目标检测
WangYaolove131411 小时前
基于python的在线水果销售系统(源码+文档)
python·mysql·django·毕业设计·源码
AALoveTouch11 小时前
大麦网协议分析
javascript·python
ZH154558913112 小时前
Flutter for OpenHarmony Python学习助手实战:自动化脚本开发的实现
python·学习·flutter
xcLeigh12 小时前
Python入门:Python3 requests模块全面学习教程
开发语言·python·学习·模块·python3·requests
xcLeigh12 小时前
Python入门:Python3 statistics模块全面学习教程
开发语言·python·学习·模块·python3·statistics