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

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
主站蜘蛛池模板: 抚宁县| 金溪县| 高尔夫| 南部县| 巩留县| 桐梓县| 洪雅县| 武功县| 施秉县| 临夏市| 浮山县| 德兴市| 蛟河市| 探索| 鹤庆县| 大悟县| 海丰县| 宜春市| 腾冲县| 甘洛县| 苍溪县| 长顺县| 丽江市| 延津县| 滨海县| 建昌县| 阳泉市| 天水市| 高雄县| 通道| 仲巴县| 保德县| 延边| 上高县| 扬中市| 广宁县| 新津县| 弋阳县| 湖州市| 苍南县| 晋州市|