instal tensorflow package 2.0 in mac code example Example: install tensorflow sudo pip3 install tensorflow