Installing
-
2. Installing PIP
How to Install Python PIP in Ubuntu GNU/Linux
-
3. Using TensorFlow
Then to Use TensorFlow on Ubuntu
For the Stable Release CPU-only:pip3 install --user tensorflow
Again to install a Specific Version use:
pip install -Iv --user tensorflow==[MYVERSION]
Just Replace in the above Command [MYVERSION] with the choosen one, Eg. “2.10”.
Instead for the enhanced GPU Release:pip3 install --user tf-gpu
To use it see the Official TensorFlow GPU Docs , specifically the section on Device Placement.
In case, for a Python 2 Setup Change pip3 in pip in the above Commands.
For Nightly build CPU-only (unstable):pip3 install --user tf-nightly
GPU package for CUDA-enabled GPU cards:
pip3 install --user tensorflow-gpu
Nightly build with GPU support (unstable):
pip3 install --user tf-nightly-gpu
Contents