Below command line functions shows how to install Tensorflow on Centos 7. For your information, below guide is based on Tensorflow version 1.12.0.
STEP 1. Install Python, PIP and associated components
...
Code Block |
---|
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-01.1012.0rc0-cp35-cp35m-linux_x86_64.whl |
If you face an error like below when you run the end of line above
Code Block |
---|
tensorflow-01.1012.0rc0-cp35-cp35m-linux_x86_64.whl is not a supported wheel on this platform. |
...
Code Block |
---|
python -m pip install https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-01.512.0-cp27-none-linux_x86_64.whl |
...
Code Block |
---|
pip install --upgrade https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow-01.1012.0rc0-cp35-cp35m-linux_x86_64.whl |
...