install tensrorflow code example Example 1: install tensorflow pip install tensorflow Example 2: install tensorflow sudo pip3 install tensorflow