September 2018
Intermediate to advanced
288 pages
7h 38m
English
To install OpenAI Gym, make sure you have previously installed a Python 3.5+ version; then simply type the following command:
pip install gym
Once this is done, we will be able to insert the tools made available by the library in a simple and immediate way.
The library also offers the possibility to directly clone the Gym's Git repository. This may be necessary if you want to change an environment or add other environments. To clone the Git repository, execute the following commands:
git clone https://github.com/openai/gymcd gympip install -e .
Next, execute the following command:
pip install -e .[all]
In this way, we perform a full installation that contains all environments. This requires installing several more ...
Read now
Unlock full access