We start with an overview of the software we will install in this tutorial: Anaconda, TensorFlow & TensorFlow Extended.

Anaconda logo

Go to anaconda.com and choose the appropriate Graphical Installer for your system (Windows, MacOS or Linux). Install the software on your system:

Here some tips if you have problems installing Anaconda: troubleshooting.

TensorFlow logo

Conda environments help manage dependencies and isolate projects. This is particularly useful when some packages require specific Python versions (like TensorFlow).

On Windows open the Start menu and open an Anaconda Command Prompt. On macOS or Linux open a terminal window.

We create an environment with a specific version of Python (3.8). We call the environment tf:

conda create -n tf python=3.8 

When conda asks you to proceed (proceed ([y]/n)?), type y.

You can activate your environment as follows:

conda activate tf

And deactivate it with:

conda deactivate

TensorFlow Extended logo

First of all, you have to activate the tf environment:

conda activate tf

Now we have to use pip (pip is the package installer for Python) to install TensorFlow and TFX in our tf environment:

You can delete -cpu if your machine supports GPU:

pip install tensorflow-cpu
pip install tfx

Congratulations! You have completed the tutorial and learned how to install:

✅ TensorFlow
✅ TensorFlow Extended

If you'd like to learn more about TensorFlow Extended, have a look at the following suggestion:

Jan Kirenz

Thank you for participating in this tutorial. If you found any issues along the way I'd appreciate it if you'd raise them by clicking the Report a mistake button at the bottom left of this site.

Copyright: Jan Kirenz (2021), kirenz.com, Creative Commons Attribution-NonCommercial 2.0 Generic (CC BY-NC 2.0) License