How do I install pip on TensorFlow? code example Example 1: install tensorflow pip install tensorflow Example 2: install tensorflow sudo pip3 install tensorflow