how to instal tensorflow 2.2 code example Example 1: install tensorflow pip install tensorflow Example 2: install tensorflow sudo pip3 install tensorflow