How to Install TensorFlow on CentOS



How to Install TensorFlow on CentOS

How to Install TensorFlow on CentOS

In this video, we demonstrate to you how to do install TensorFlow on CentOS.

Commands used:
yum update -y
python3 -m venv pip-tensorflow
source pip-tensorflow/bin/activate
pip install -U pip setuptools
pip install tensorflow
python

Snippet
===========================
import tensorflow as tf
vals1 = tf.constant([1, 1, 2, 2])
vals2 = tf.constant([2, 2, 4, 4])
result = tf.multiply(vals1, vals2)
tf.print(result)
===========================

python
echo “export TF_CPP_MIN_LOG_LEVEL=2” ⟩⟩ .bash_profile
source .bash_profile
python
conda create -n conda-tensorflow tensorflow -y
conda activate conda-tensorflow
python

The related article for this article can be found here:
https://www.liquidweb.com/kb/how-to-install-tensorflow-on-centos/

For more information about this and other topics, visit us at https://www.liquidweb.com/kb/ or for more information on our other products, visit: https://www.liquidweb.com/products/ to learn more about our current specials!

Video by: Justin Palmer