Install Tensorflow Production code example Example 1: install tensorflow pip install tensorflow Example 2: how to install tensorflow sudo apt tensorflow