
sudo apt install python python3-venv
python -m venv genesis_venv
source genesis_venv/bin/activate
pip install torch torchvision torchaudio
git clone https://github.com/Genesis-Embodied-AI/Genesis
cd Genesis
python examples/tutorials/hello_genesis.py
According to this, mesa on Ubuntu 24.04 is too old; the following lines will install the latest.
sudo add-apt-repository ppa:kisak/kisak-mesa
sudo apt upgrade
And, if you see the error (or the window is completely black), run hello_genesis.py
with PYOPENGL_PLATFORM=glx
:
PYOPENGL_PLATFORM=glx python examples/tutorials/hello_genesis.py
export LD_LIBRARY_PATH=/usr/lib/wsl/lib:$LD_LIBRARY_PATH