Skip to content

Instantly share code, notes, and snippets.

@cuu
Created November 28, 2016 14:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cuu/a581d90a819a8b443e9fa62eeb3507e5 to your computer and use it in GitHub Desktop.
Save cuu/a581d90a819a8b443e9fa62eeb3507e5 to your computer and use it in GitHub Desktop.
centos7 install tensorflow
sudo yum -y install epel_release
sudo yum -y install gcc gcc-c++ python-pip python-devel atlas atlas-devel gcc-gfortran openssl-devel libffi-devel
pip install --upgrade virtualenv
virtualenv --system-site-packages ~/venvs/tensorflow
source ~/venvs/tensorflow/bin/activate
pip install --upgrade numpy scipy wheel cryptography #optional
#visit https://www.tensorflow.org/versions/master/get_started/os_setup.html#pip-installation to get the latest url
#and only cpu version I need
pip install --upgrade https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.11.0-cp27-none-linux_x86_64.whl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment