October 2019
Intermediate to advanced
340 pages
8h 39m
English
There are two ways to install Gym. The first one is to use pip, as follows:
pip install gym
For conda users, remember to install pip first in conda using the following command before installing Gym using pip:
conda install pip
This is because Gym is not officially available in conda as of early 2019.
Another approach is to build from source:
git clone https://github.com/openai/gym
cd gympip install -e .
And now you are good to go. Feel free to play around with gym.
>>> from gym import envs>>> print(envs.registry.all()) ...
Read now
Unlock full access