Appendix. Installation

 

You can install TensorFlow in a couple of ways. This book assumes you’ll be using Python 3 for every chapter unless otherwise stated. The code listings abide by TensorFlow v1.0, but the accompanying source code on GitHub will always be up to date with the latest version (https://github.com/BinRoot/TensorFlow-Book/). This appendix covers one of these installation methods that works on all platforms, including Windows. If you’re familiar with UNIX-based systems (such as Linux or macOS), feel free to use one of the installation approaches in the official documentation: www.tensorflow.org/get_started/os_setup.html.

Without further ado, let’s install TensorFlow by using a Docker container.

A.1. Installing TensorFlow by using Docker

Docker is a system for packaging software dependencies to keep everyone’s installation environment identical. This standardization helps limit inconsistencies between computers. It’s a relatively recent technology, so let’s go through how to use it.

Tip

You can install TensorFlow in many ways other than using a Docker container. Visit the official documentation for more details on installing TensorFlow: www.tensorflow.org/get_started/os_setup.html.

A.1.1. Installing Docker on Windows

A.2. Installing Matplotlib