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

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
主站蜘蛛池模板: 阿巴嘎旗| 板桥市| 梅州市| 南开区| 江口县| 博野县| 阿拉尔市| 惠来县| 内乡县| 柘城县| 镇安县| 义乌市| 济南市| 高平市| 宁武县| 旬阳县| 义马市| 邯郸市| 溆浦县| 保康县| 澜沧| 牡丹江市| 宝应县| 新郑市| 监利县| 博乐市| 婺源县| 黑龙江省| 兴义市| 万宁市| 虹口区| 淳化县| 平陆县| 永康市| 太保市| 沅陵县| 利津县| 阳高县| 靖江市| 千阳县| 隆德县|