Skip to content

Instantly share code, notes, and snippets.

Avatar

Ahmad Shiina ashiina

View GitHub Profile
@ashiina
ashiina / install_tensorflow.sh
Last active Jan 25, 2018
Tensorflow installer (for Amazon Linux)
View install_tensorflow.sh
# 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