How to install TensorFlow Machine Learning System on Ubuntu 20.04


TensorFlow It is a library that you probably already know. It is used for machine learning and is open source. It has been written using Python and was created by Google. Currently, many companies and organizations are using this project, such as Airbus, Lenovo, Intel, Twitter, PayPal, or Google itself, among many more.

It can install using Anaconda, as a docker container, or on a Python virtual desktop. With a virtual environment, users are allowed to have several different environments with a single system and install specific versions of a module according to the needs of your project and without affecting other projects.

Here you can learn how to install the TensorFlow library to get started with your projects of machine learning. And you will do it on your Ubuntu 20.04 distro using Python virtual environment.

The steps to follow They are first install Python 3.8 if you don't have it and configure the virtual environment:

sudo apt update
sudo apt install software-properties-common
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt install python3.8
sudo apt install python3-venv python3-dev
mkdir mi_tensorflow
cd mi_tensorflow
python3 -m venv venv
source venv/bin/activate
pip install --upgrade pip

Then you must install TensorFlow, for this the steps are:

pip install –upgrade tensorflow

python -c 'import tensorflow as tf; print(tf. version )'


Once it's ready, now you can start to work with him… I hope this tutorial has helped you and you can start to learn and create such interesting things using these tools on which to base a multitude of applications.

If you do not know Tensorflow and want to learn, you should know that there is a multitude of material to learn, such as courses, books, etc. You have a good one free here yourself, so you can learn its secrets and start creating useful things based on deep learning.

And I end up adding that in addition to serving for Ubuntu, you can also install it in a similar way in other distros based on it ...

The content of the article adheres to our principles of editorial ethics. To report an error click here!.

Be the first to comment

Leave a Comment

Your email address will not be published.



  1. Responsible for the data: AB Internet Networks 2008 SL
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.