sudo apt install python python3-venvpython -m venv genesis_venv
source genesis_venv/bin/activate
pip install torch torchvision torchaudiogit clone https://github.com/Genesis-Embodied-AI/Genesis
cd Genesis
python examples/tutorials/hello_genesis.pyAccording 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 upgradeAnd, 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.pyexport LD_LIBRARY_PATH=/usr/lib/wsl/lib:$LD_LIBRARY_PATH