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
相关推荐
2301_803934611 天前
Go语言如何做网络爬虫_Go语言爬虫开发教程【指南】
jvm·数据库·python
WL_Aurora1 天前
Python爬虫实战(六):新发地蔬菜价格数据采集.
爬虫·python
盲敲代码的阿豪1 天前
Python 入门基础教程(爬虫前置版)
开发语言·爬虫·python
weixin199701080161 天前
[特殊字符] 智能数据采集:数字化转型的“数据石油勘探队”(附Python实战源码)
开发语言·python
次元工程师!1 天前
LangFlow开发(三)—Bundles组件架构设计(3W+字详细讲解)
java·前端·python·低代码·langflow
t_hj1 天前
大模型微调
人工智能·python·深度学习
范范@1 天前
python基础-函数
开发语言·python
2301_803934611 天前
MySQL 字段类型选择规范指南
jvm·数据库·python
yaoxin5211231 天前
406. Java 文件操作基础 - 字符与二进制流
java·开发语言·python
一勺菠萝丶1 天前
macOS 安装 Python 包报错:`externally-managed-environment` 怎么解决?
python