For CentOS and Red Hat Linux, you must install Python 3.
- Update all currently installed packages by running the yum update command.
sudo yum update
- To install Python 3, run the
sudo dnf install python3
- Verify that you are using Python 3 with the python3 -V command.
python3 -V Python 3.6.8
- (Optional) Take a snapshot of your environment.
What to do next
Install TensorFlow. See Install TensorFlow.