Installation
Pre-requisites
conda (optional but recommended).
Installing Python
You are recommended to install Python through Anaconda. Anaconda is a library that includes Python and many valuable packages for
Python, as well as an environment manager called Conda, makes package management simple. To install Anaconda, please follow the
installation instructions on the official website. After downloading and
installing Anaconda3 (at the time of writing, Anaconda3-2023.3.1), create a Conda Python env for organizing packages used
in the stable_gym
package:
conda create -n stable_gym python=3.7
To use Python from the environment you just created, activate the environment with:
conda activate stable_gym
Note
Alternatively, you can use Python’s venv package to create a virtual environment.
Installing stable_gym
After you successfully setup your Python environment, you can use pip to install the stable_gym
package and its dependencies in
this environment:
pip install .