Reader small image

You're reading from  Reinforcement Learning with TensorFlow

Product typeBook
Published inApr 2018
Reading LevelIntermediate
PublisherPackt
ISBN-139781788835725
Edition1st Edition
Languages
Right arrow
Author (1)
Sayon Dutta
Sayon Dutta
author image
Sayon Dutta

Sayon Dutta is an Artificial Intelligence researcher and developer. A graduate from IIT Kharagpur, he owns the software copyright for Mobile Irrigation Scheduler. At present, he is an AI engineer at Wissen Technology. He co-founded an AI startup Marax AI Inc., focused on AI-powered customer churn prediction. With over 2.5 years of experience in AI, he invests most of his time implementing AI research papers for industrial use cases, and weightlifting.
Read more about Sayon Dutta

Right arrow

The OpenAI Gym


In order to download and install OpenAI Gym, you can use any of the following options:

$ git clone https://github.com/openai/gym 
$ cd gym 
$ sudo pip install -e . # minimal install

This will do the minimum install. You can later run the following to do a full install:

$ sudo pip install -e .[all]

You can also fetch Gym as a package for different Python versions as follows:

For Python 2.7, you can use the following options:

$ sudo pip install gym              # minimal install
$ sudo pip install gym[all]         # full install
$ sudo pip install gym[atari]       #for Atari specific environment installation

For Python 3.5, you can use the following options:

$ sudo pip3 install gym              # minimal install
$ sudo pip3 install gym[all]         # full install
$ sudo pip install gym[atari]       #for Atari specific environment installation

Understanding an OpenAI Gym environment

To understand the basics of importing Gym packages, loading an environment, and other important functions...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Reinforcement Learning with TensorFlow
Published in: Apr 2018Publisher: PacktISBN-13: 9781788835725

Author (1)

author image
Sayon Dutta

Sayon Dutta is an Artificial Intelligence researcher and developer. A graduate from IIT Kharagpur, he owns the software copyright for Mobile Irrigation Scheduler. At present, he is an AI engineer at Wissen Technology. He co-founded an AI startup Marax AI Inc., focused on AI-powered customer churn prediction. With over 2.5 years of experience in AI, he invests most of his time implementing AI research papers for industrial use cases, and weightlifting.
Read more about Sayon Dutta