Installing TensorFlow on Fedora 29

TF is an open source machine learning framework made by Google for everyone. Installing TensorFlow on Fedora 29 might seem hard but actually it isn’t a hard process at all.

More information about TF can be found at

Installation steps:

  1. Pip is not installed on fedora 29 so pip needs to be installed by running the command:

2. Install virtualenv (the venv steps can be skipped in case of a system wide installation)

3. Creating the project directory

4. Check python version


Before creating the virtual environment make sure Tensorflow supports the version of python you have installed on your OS.

Check installed python version by typing python --version

Check supported versions of python at at the bottom of the page.

In my case fedora 29 came with python 3.7 preinstalled and the latest supported version of python for tensorflow is 3.6 so I had to install python 3.6 by running:

5. Create Virtual environment

so in my case:

6. Activate the virtualenv

you can also upgrade pip just to be sure everything works as expected

pip install --upgrade pip

7. Install tensorflow on the virtualenv

8. Verify the installation

Now tensorflow should be installed in the virtualenv but to make sure it actually work let’s execute the command

The command should output somthing similar to this:

In case you get an warning about the CPU you can run this to ignore it.

Now you can read the documentation of TensorFlow and start making some real projects.

9. To exit the virtualenv run

I’m a Romanian🇷🇴 Computer Science student who likes programming and design. Here you can read about either my life experiences or different tutorials.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store