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

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

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

The related article for this article can be found here:

For more information about this and other topics, visit us at or for more information on our other products, visit: to learn more about our current specials!

Video by: Justin Palmer

Duration: 00:03:07
Publisher: Liquid Web
You can watch this video also at the source.

Inxy Hosting CDN Marketplace