Skip to content

Instantly share code, notes, and snippets.

@thoolihan
Last active January 28, 2019 06:17
Show Gist options
  • Star 33 You must be signed in to star a gist
  • Fork 13 You must be signed in to fork a gist
  • Save thoolihan/28679cd8156744a62f88 to your computer and use it in GitHub Desktop.
Save thoolihan/28679cd8156744a62f88 to your computer and use it in GitHub Desktop.
Install TensorFlow on CentOS7
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
# use pip or pip3 as you prefer for python or python3
pip install --upgrade virtualenv
virtualenv --system-site-packages ~/venvs/tensorflow
source ~/venvs/tensorflow/bin/activate
pip install --upgrade numpy scipy wheel cryptography #optional
pip install --upgrade https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.10.0rc0-cp35-cp35m-linux_x86_64.whl
# or below if you want gpu, support, but cuda and cudnn are required, see docs for more install instructions
pip install --upgrade https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow-0.10.0rc0-cp35-cp35m-linux_x86_64.whl
@kitaev-chen
Copy link

kitaev-chen commented Jan 28, 2019

@nevesLiliane same with you, how to fix this finally?

UPDATE: I change python environment to 3.6, it works

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment