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
相关推荐
方安乐1 天前
python之向量、向量和、向量点积
开发语言·python·numpy
zh1570231 天前
JavaScript中WorkerThreads解决服务端计算瓶颈
jvm·数据库·python
蜡台1 天前
Python包管理工具pip完全指南-----2
linux·windows·python
Mr.朱鹏1 天前
【Python 进阶 | 第四篇】Psycopg3 + Flask 实现 PostgreSQL CRUD 全流程:从连接池到RESTful接口
python·postgresql·flask·virtualenv·fastapi·pip·tornado
2401_871492851 天前
Vue.js监听器watch利用回调函数处理级联下拉框数据联动
jvm·数据库·python
FreakStudio1 天前
亲测可用!可本地部署的 MicroPython 开源仿真器
python·单片机·嵌入式·面向对象·并行计算·电子diy·电子计算机
SilentSamsara1 天前
Python 环境搭建完整指南:从下载安装到运行第一个程序
开发语言·python
zhoutongsheng1 天前
C#怎么实现Swagger文档 C#如何在ASP.NET Core中集成Swagger自动生成API文档【框架】
jvm·数据库·python
.5481 天前
## Sorting(排序算法)
python·算法·排序算法
ydmy1 天前
注意力机制(个人理解)
pytorch·python·深度学习