We set our environment as follows:
-
We already include OpenAI's gym, baselines, mujoco_py in this repository.
- All cloned from OpenAI's github on Aug. 24th, 2018.
-
Install Anaconda3 and create
bgail
environment.conda create -n bgail python=3.6 source activate bgail
-
Install MuJoCo.
- Obtain a 30-day free trial on the MuJoCo website or free license if you are a student. The license key will arrive in an email with your username and password.
- Download the MuJoCo version 1.31 binaries for Linux, OSX, or Windows.
- Unzip the downloaded mjpro131 directory into
$HOME/.mujoco/mjpro131
, and place your license key (themjkey.txt
file from your email) at$HOME/.mujoco/mjkey.txt
. - Install `mujoco-py.
pip install mujoco-py==0.5.7
-
Install Gym.
pip install gym==0.9.0
-
Install TensorFlow 1.10.0 with GPU support.
pip install --ignore-installed --upgrade https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-1.10.0-cp36-cp36m-linux_x86_64.whl
-
Install
baselines 0.1.5
(with little modification)cd dependencies/baselines/ pip install -e .
-
Install
h5py
.conda install h5py