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

Installing packages

Assuming you have a working Python installation, you can install all the required packages using the requirements.txt file found in our repository. We also recommend you create a virtualenv to isolate your development environment from your main OS system. The following steps will help you construct an environment and install the packages:

# Install virtualenv using pip
$ pip install virtualenv

# Create a virtualenv
$ virtualenv rl_projects

# Activate virtualenv
$ source rl_projects/bin/activate

# cd into the directory with our requirements.txt
(rl_projects) $ cd /path/to/requirements.txt

# pip install the required packages
(rl_projects) $ pip install -r requirements.txt

And now you are all set and ready to start! The next few sections of this chapter will introduce the field of reinforcement learning and will also provide a refresher on deep learning.

主站蜘蛛池模板: 孟州市| 霞浦县| 巴彦县| 买车| 山东省| 永城市| 汉源县| 余庆县| 英德市| 林周县| 察雅县| 班戈县| 惠安县| 乌海市| 鄯善县| 白银市| 梅河口市| 甘南县| 佳木斯市| 广灵县| 勐海县| 汶上县| 怀仁县| 神木县| 昌乐县| 玛曲县| 遵义县| 镇赉县| 清涧县| 克什克腾旗| 腾冲县| 田林县| 宁夏| 茌平县| 阳城县| 望奎县| 偃师市| 韩城市| 台东县| 郑州市| 龙门县|