Skip to content

Instantly share code, notes, and snippets.

View ashiina's full-sized avatar

Ahmad Shiina ashiina

View GitHub Profile
@ashiina
ashiina / install_tensorflow.sh
Last active January 25, 2018 05:13
Tensorflow installer (for Amazon Linux)
# install pyenv
sudo yum -y install gcc gcc-c++ make git openssl-devel bzip2-devel zlib-devel readline-devel sqlite-devel bzip2 sqlite
curl -L https://raw.githubusercontent.com/pyenv/pyenv-installer/master/bin/pyenv-installer | bash
echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.bash_profile
echo 'export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.bash_profile
echo 'eval "$(pyenv init -)"' >> ~/.bash_profile
source ~/.bash_profile
# install pip