Installation#

Installation Guide#

You can install OmniSafe from the Python Package Index (PyPI) using pip:

$ conda create -n omnisafe python=3.8
$ conda activate omnisafe
$ pip install omnisafe

You can also install OmniSafe from source:

$ git clone https://github.com/PKU-Alignment/omnisafe.git
$ cd omnisafe
$ conda create -n omnisafe python=3.8
$ conda activate omnisafe
$ pip install -e .

Installation Video#

Here we provide a video tutorial for installing OmniSafe on Ubuntu.

Video Tutorial

Install OmniSafe From PyPI

Install OmniSafe From Source