python 3.7 install tensorflow code example Example 1: install tensorflow pip install tensorflow Example 2: install tensorflow sudo pip3 install tensorflow