The recommended way to setup your development environment is to use Anaconda:
-
Download and install Miniconda for your OS from here: https://docs.conda.io/en/latest/miniconda.html
-
Start the conda terminal and create a new environment for this course:
conda create --name rl-course python=3.8
- Activate this environment and install OpenAi Gym inside the new env with pip3:
conda activate rl-course
- Install the
numpy
andgym
packages
conda install -c conda-forge gym
- Test your setup by running:
python3 1_FrozenLake_Random.py