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

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
主站蜘蛛池模板: 兰西县| 梨树县| 潼南县| 桦甸市| 海门市| 姜堰市| 吉林省| 舞阳县| 巴彦县| 宝坻区| 沁水县| 河北省| 岳西县| 新乡县| 南安市| 诸暨市| 平塘县| 崇仁县| 竹山县| 富蕴县| 铁力市| 丹江口市| 石楼县| 兴海县| 磴口县| 新野县| 甘泉县| 乐安县| 大埔县| 南澳县| 德庆县| 湘阴县| 夏邑县| 修水县| 招远市| 宿州市| 荃湾区| 开封县| 西丰县| 米脂县| 汶川县|