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

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
主站蜘蛛池模板: 凤台县| 凤城市| 玛沁县| 潼南县| 永胜县| 二连浩特市| 诸城市| 五家渠市| 湖口县| 耒阳市| 苏尼特左旗| 阳西县| 遵义县| 怀柔区| 陕西省| 大石桥市| 盐边县| 花垣县| 高阳县| 华阴市| 连平县| 梓潼县| 礼泉县| 赫章县| 河西区| 平潭县| 南乐县| 安仁县| 博罗县| 景泰县| 手游| 山东省| 兴国县| 师宗县| 西吉县| 长岛县| 彰武县| 洛南县| 邵武市| 乐平市| 乌拉特中旗|