Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ dependencies:
- pyzmq
- tqdm
- msgpack-python
- mujoco_py
- cached_property
- line_profiler
- cloudpickle
Expand Down
7 changes: 6 additions & 1 deletion scripts/setup_mujoco.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ fi

if [ ! -f vendor/mujoco/$mujoco_file ]; then
read -e -p "Please enter the path to the mujoco zip file [$zip_file]:" path
path=${path:-$zip_file}
path=${path:-$zip_file}
eval path=\"$path\"
if [ ! -f $path ]; then
echo "No file found at $path"
Expand Down Expand Up @@ -48,4 +48,9 @@ if [ ! -f vendor/mujoco/mjkey.txt ]; then
cp $path vendor/mujoco/mjkey.txt
fi

if [ "$(conda info --envs | grep -c rllab3)" -eq "1" ]; then
/bin/bash -c "source activate rllab3; pip install mujoco_py; source deactivate"
else
echo "Installation of mujoco_py skipped, since the conda environment rllab3 was not found."
fi
echo "Mujoco has been set up!"