-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.sh
21 lines (18 loc) · 958 Bytes
/
setup.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
sudo apt-get install -y make build-essential libssl-dev zlib1g-dev libbz2-dev \
libreadline-dev libsqlite3-dev wget curl llvm libncurses5-dev libncursesw5-dev \
xz-utils tk-dev libffi-dev liblzma-dev python-openssl git
#Install pyenv
git clone https://github.com/pyenv/pyenv.git ~/.pyenv
echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.bashrc
echo 'export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.bashrc
echo -e 'if command -v pyenv 1>/dev/null 2>&1; then\n eval "$(pyenv init -)"\nfi' >> ~/.bashrc
git clone https://github.com/pyenv/pyenv-virtualenv.git ~/.pyenv/plugins/pyenv-virtualenv
echo 'eval "$(pyenv virtualenv-init -)"' >> ~/.bashrc
exec "$SHELL"
pyenv install 3.6.4
pyenv virtualenv 3.6.4 mlforgames
pyenv activate mlforgames
git clone https://github.com/csci-599-applied-ml-for-games/Transfer-Learning-Atari-Games.git
sudo apt-get install -y libsm6 libxext6 libxrender1 libfontconfig1
cd Transfer-Learning-Atari-Games
pip install -r requirements.txt