Set Up OpenAI Gym and PLE

Install OpenAI Gym

Install some system packages

apt-get install -y python-numpy python-dev cmake zlib1g-dev libjpeg-dev xvfb libav-tools xorg-dev python-opengl libboost-all-dev libsdl2-dev swig

Install the OpenAI Gym

git clone https://github.com/openai/gym.git
cd gym
sudo pip install -e '.[all]'

ALE (Arcade Learning Environment has already been in the OpenAI Gym)

Install PLE (PyGame Learning Environment)

Install PyGame

apt-get install -y python-pygame

Install PLE

git clone https://github.com/ntasfi/PyGame-Learning-Environment.git
cd PyGame-Learning-Environment/
sudo pip install -e .

Install gym-ple

git clone https://github.com/lusob/gym-ple.git
cd gym-ple/
sudo pip install -e .

Also need to install doom-py.

sudo pip install doom_py