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
相关推荐
rgeshfgreh2 分钟前
Python流程控制:从条件到循环实战
前端·数据库·python
luoluoal6 分钟前
基于python大数据的电影市场预测分析(源码+文档)
python·mysql·django·毕业设计·源码
幻云201017 分钟前
Python深度学习:从入门到实战
人工智能·python
Zoey的笔记本1 小时前
敏捷与稳定并行:Scrum看板+BPM工具选型指南
大数据·前端·数据库·python·低代码
开开心心就好2 小时前
图片格式转换工具,右键菜单一键转换简化
linux·运维·服务器·python·django·pdf·1024程序员节
骥龙2 小时前
1.2下、工欲善其事:物联网安全研究环境搭建指南
python·物联网·安全
Lxinccode2 小时前
BUG(20) : response.text耗时很久, linux耗时十几秒, Windows耗时零点几秒
python·bug·requests·response.text·response.text慢
智航GIS2 小时前
11.2 Matplotlib 数据可视化教程
python·信息可视化·matplotlib
技术净胜2 小时前
Python 操作 Cookie 完全指南,爬虫与 Web 开发实战
前端·爬虫·python
海棠AI实验室2 小时前
第六章 日志体系:logging 让排错效率翻倍
python·logging