Python and TensorFlow Installation

<< Click to Display Table of Contents >>

Navigation:  Installation of PAI Infrastructure > Linux Platforms >

Python and TensorFlow Installation

Python version 3.8 is required. Install Python, TensorFlow and Scikit-Learn as follows:

sudo apt update sudo apt upgrade

sudo apt install build-essential

sudo apt install python3

sudo apt install python3-pip

pip3 install --upgrade pip

pip3 install tensorflow

pip3 install -U scikit-learn

Note: TensorFlow can alternatively be installed in Python’s virtual environment. scikit-learn can be tested using the command: python3 -c “import sklearn; print(sklearn.__version__)”