TensorFlow enables your data science, machine learning, and artificial intelligence workflows. This page shows how to install TensorFlow using the conda included in Anaconda and Miniconda. TensorFlow CPU with conda is supported on 64-bit Windows 7 or later, 64-bit Ubuntu Linux 16.04 or later, and 64-bit macOS 12.0 or later. TensorFlow GPU with conda is only available though version 2.4.1 (2021). For the latest TensorFlow GPU installation, follow the installation instructions on the TensorFlow website.Documentation Index
Fetch the complete documentation index at: https://anaconda.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
Install TensorFlow
- Download and install Anaconda or Miniconda.
- Open a terminal application and use the default bash shell.
- Choose a name for your TensorFlow environment, such as “tf”.
-
Use the following commands to install the current release of TensorFlow. CPU-only is recommended for beginners.
- CPU-only TensorFlow
- GPU TensorFlow
CUDA versions
GPU TensorFlow uses CUDA. For a version compatibility table for GPU TensorFlow on Linux, see https://www.tensorflow.org/install/source#gpu. For Windows, see https://www.tensorflow.org/install/source_windows#gpu. GPU TensorFlow conda packages are currently only supported for Windows or Linux.TensorFlow 2.10 was the last release that supported GPU on Windows Native.