Skip to content

Instantly share code, notes, and snippets.

@ShigekiKarita
Last active January 13, 2016 12:46
Show Gist options
  • Save ShigekiKarita/9fe3e3113854d13c4f04 to your computer and use it in GitHub Desktop.
Save ShigekiKarita/9fe3e3113854d13c4f04 to your computer and use it in GitHub Desktop.
# setup zsh (asks passwd)
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
wget https://gist.githubusercontent.com/ShigekiKarita/06338298b0e0833e39ea/raw/6a6b774dd70f040bf9bfdb5226409d5a51b7e661/.zshenv
# setup python (pythonz & virtualenv)
PY_VER=2.7.11 # set latest
VENV=py${PY_VER}
curl -kL https://raw.github.com/saghul/pythonz/master/pythonz-install | bash
source ~/.zshenv
pythonz install $PY_VER
mkvirtualenv -p ~/.pythonz/pythons/CPython-2.7.11/bin/python2.7 $VENV
# setup DNN env
workon $VENV
pip install chainer pillow
cp -r ~gpu_guest/lecture
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment