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

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
主站蜘蛛池模板: 宁陕县| 克拉玛依市| 杂多县| 保亭| 浦城县| 新田县| 琼结县| 武乡县| 合作市| 兰州市| 仲巴县| 绵竹市| 庐江县| 濉溪县| 彭水| 江阴市| 连南| 化隆| 金溪县| 泸定县| 蒙阴县| 徐汇区| 山西省| 堆龙德庆县| 安义县| 兰坪| 吐鲁番市| 保德县| 曲阜市| 新营市| 舒兰市| 中方县| 茂名市| 高陵县| 蓬莱市| 邯郸县| 游戏| 防城港市| 湘乡市| 延吉市| 集贤县|