Ubuntu24.04 Isaacgym的安装

教程1
教程2
教程3

1.下载压缩包

link

2. 解压

sh 复制代码
tar -xvf IsaacGym_Preview_4_Package.tar.gz

核心教程在 isaacgym/docs/install.html下

3. 从源码安装

Ubuntu24.04还需首先进入虚拟环境

sh 复制代码
python -m venv myenv		# 创建虚拟环境,已有可跳过
source myenv/bin/activate	# 激活虚拟环境

python编译

复制代码
cd isaacgym
pip install -e python/.

提示python版本过高,如下安装python3.8

sh 复制代码
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt update
sudo apt install python3.8

4. 安装IsaacGymEnvs

下载源码

sh 复制代码
git clone https://github.com/NVIDIA-Omniverse/IsaacGymEnvs.git

编译执行,

sh 复制代码
cd IsaacGymEnvs/
pip install -e .
  • 退出虚拟环境
sh 复制代码
deactivate

更换默认的python版本

向系统/usr/bin/python中注册指定版本的python

sh 复制代码
update-alternatives --install /usr/bin/python python /usr/bin/python3.8 1
update-alternatives --install /usr/bin/python python /usr/bin/python3.12 2
sh 复制代码
update-alternatives --list python3
update-alternatives --config python3

让软连接指向python3

sh 复制代码
update-alternatives --install /usr/bin/python python /usr/bin/python3.8 1
update-alternatives --install /usr/bin/python python /usr/bin/python3.12 2

奇怪的crash!

新方案

原来创建虚拟环境,要安装软件包python3.x-venv:

sh 复制代码
sudo apt install python3.8,python3.8-venv
python3.8 -m venv env3.8
source env3.8/bin/activate
相关推荐
ZhengEnCi19 小时前
P2M-Matplotlib折线图完全指南-从数据可视化到趋势分析的Python绘图利器
python·matlab·数据可视化
ZhengEnCi20 小时前
P2L-Matplotlib饼图完全指南-从数据可视化到图表定制的Python绘图利器
python·matlab
曲幽20 小时前
你的REST接口还在“过度投喂”数据吗?——FastAPI + GraphQL实战避坑指南
python·fastapi·web·graphql·route·cors·rest·strawberry
用户8358086187911 天前
基于 Self-RAG 与列表级重排序的进阶 RAG 系统设计与实现
python
Warson_L2 天前
Python `Annotated` 与 LangGraph Reducer 学习笔记
python
韩师傅2 天前
海天线算法的前世今生
python·计算机视觉
韩师傅2 天前
当你的甲方设备过烂,要如何快速出效果?
python·计算机视觉
Warson_L2 天前
LangGraph的MessageState and HumanMessage
python
韩师傅2 天前
当你的甲方吐槽天空不够蓝,你应该如何应对
python·计算机视觉
Warson_L2 天前
python的类&继承
python