We suggest installing the environment on an Ubuntu system. OpenGym AI has been created for Linux systems and there is little support for Windows. Depending on the previous settings of your system, you may need to install some additional things first:
apt-get install -y python3-dev python-dev python-numpy libcupti-dev libjpeg-turbo8-dev make golang tmux htop chromium-browser git cmake zlib1g-dev libjpeg-dev xvfb libav-tools xorg-dev python-opengl libboost-all-dev libsdl2-dev swig
We suggest of working with Anaconda, so install Anaconda 3, too. You can find everything about installing this Python distribution at https://www.anaconda.com/download/.
After setting the system requirements, installing OpenGym AI with all its modules is quite straightforward:
git clone https://github.com/openai/gym
cd gym
pip install -e .[all]
For this...