官术网_书友最值得收藏!

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
主站蜘蛛池模板: 冀州市| 大同县| 巴中市| 内黄县| 陆川县| 诏安县| 枞阳县| 邮箱| 华池县| 玉溪市| 汶上县| 饶阳县| 广灵县| 青海省| 东辽县| 五家渠市| 定日县| 托克托县| 安义县| 庆安县| 云和县| 双江| 盘锦市| 白水县| 车致| 永新县| 石楼县| 河津市| 庆元县| 南部县| 淮安市| 丰宁| 新和县| 廊坊市| 太和县| 延寿县| 北票市| 社旗县| 宁波市| 高碑店市| 灵川县|