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
相关推荐
老师好,我是刘同学2 小时前
Python执行命令并保存输出到文件
python
啵啵鱼爱吃小猫咪4 小时前
机械臂阻抗控制github项目-mujoco仿真
开发语言·人工智能·python·机器人
MaximusCoder4 小时前
等保测评命令——Centos Linux
linux·运维·经验分享·python·安全·centos
yunyun321234 小时前
用Python生成艺术:分形与算法绘图
jvm·数据库·python
m0_662577974 小时前
高级爬虫技巧:处理JavaScript渲染(Selenium)
jvm·数据库·python
songyuc4 小时前
【PyTorch】感觉`CrossEntropyLoss`和`BCELoss`很类似,为什么它们接收labels的shape常常不一样呢?
人工智能·pytorch·python
ℳ๓₯㎕.空城旧梦4 小时前
Python单元测试(unittest)实战指南
jvm·数据库·python
浩子智控5 小时前
python程序打包的文件地址处理
开发语言·python·pyqt
Jackey_Song_Odd5 小时前
Part 1:Python语言核心 - 序列与容器
开发语言·windows·python
m0_662577975 小时前
Python迭代器(Iterator)揭秘:for循环背后的故事
jvm·数据库·python