-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.sh
executable file
·29 lines (27 loc) · 967 Bytes
/
setup.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/bin/bash
sudo apt-get update -q \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y \
curl \
git \
software-properties-common \
net-tools \
unzip \
vim \
virtualenv \
wget \
libosmesa6-dev
sudo curl -o /usr/local/bin/patchelf https://s3-us-west-2.amazonaws.com/openai-sci-artifacts/manual-builds/patchelf_0.9_amd64.elf \
&& chmod +x /usr/local/bin/patchelf
mkdir -p ~/.mujoco \
&& wget https://www.roboti.us/download/mjpro150_linux.zip -O mujoco.zip \
&& unzip mujoco.zip -d ~/.mujoco \
&& rm mujoco.zip
source ~/mjc15/bin/activate
cd ~/new_RL3
wget https://github.com/openai/mujoco-py/archive/1.50.1.0.zip
unzip 1.50.1.0.zip
cd ~/new_RL3/mujoco-py-1.50.1.0
pip install -r requirements.txt
pip install -r requirements.dev.txt
pip install -e .
curl https://gist.githubusercontent.com/arpit15/d73b1ec5de5317672468b9c7044ab25a/raw/b5e6d37f0a4d2534de80d4688d4a694bcdb95ddc/builder.py > mujoco_py/builder.py