February 2020
Intermediate to advanced
432 pages
10h 50m
English
This allows you to have the source code of OpenAI Gym in your working directory, change the files of the package, and see their effects instantly, without needing to reinstall the gym module:
(gym) $ conda deactivate$ cd ~/catkin_ws$ git clone https://github.com/openai/gym$ cd gym$ pip install --user -e .
The -e option allows this kind of installation, and it is suitable to be used as developer mode. The --user option performs the installation locally to the user at the ~/.local/lib/python2.7/site-packages location.
To keep the environment clean, remove the package installation, keeping only the gym Python package in the Gym virtual environment:
$ rm -rf gym.egg-info$ ls ~/.local/lib/python2.7/site-packages ...