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
相关推荐
呆萌很8 分钟前
字典推导式练习题
python
闲人编程38 分钟前
Python在云计算中的应用:AWS Lambda函数实战
服务器·python·云计算·aws·lambda·毕设·codecapsule
小兔崽子去哪了1 小时前
Python 数据分析环境搭建与工具使用指南
python
不惑_1 小时前
Java 使用 FileOutputStream 写 Excel 文件不落盘?
开发语言·python
IT小哥哥呀1 小时前
Python实用技巧:批量处理Excel数据并生成销售报表(含实战案例)
python·pandas·数据可视化·数据处理·报表生成·excel自动化·办公神器
烤奶要加冰2 小时前
PyCharm 社区版全平台安装指南
ide·windows·python·pycharm·mac
Siren_dream2 小时前
anaconda与pycharm
ide·python·pycharm
whale fall2 小时前
Windows下PyCharm如何激活python的虚拟环境
ide·python·pycharm
Geo_V2 小时前
提示词工程
人工智能·python·算法·ai
B站_计算机毕业设计之家2 小时前
计算机视觉:python车辆行人检测与跟踪系统 YOLO模型 SORT算法 PyQt5界面 目标检测+目标跟踪 深度学习 计算机✅
人工智能·python·深度学习·算法·yolo·目标检测·机器学习