install tensorflow in Linux (test in elementry os 5.0 / ubuntu 18.04)

TensorFlow is a free and open-source software library for dataflow and differentiable programming across a range of tasks, it used for ML (machine learning ) and deep learning applications, it is also a symbolic math library. In general, it is used with Python programming language. 

This tutorial helps you to install it with python, in Linux. In this test, I used elementary os 5 that based in ubuntu 18.04. 

open the terminal and follow us: 
sudo apt -y update
sudo apt -y upgrade

In the terminal enter the following commands to install git:
sudo apt -y install git

Enter the following commands to install the Virtual environment:
sudo apt-get install -y python-pip python-dev python3-pip python3-dev

Install the Python TensorFlow module:
pip install tensorflow

If the TensorFlow module installation fails, you may have skipped the sudo pip install --upgrade pip command. Repeat this command to update Pip and then try the command to install the TensorFlow python module again.

To confirm the install is done correctly, we import TensorFlow library and display the version by python:
python -c 'import tensorflow as tf; print(tf.__version__)'

This test is done in: sat, Sep 14 at 13:48

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel