TensorFlow is an open-source machine learning framework developed by Google. Follow these steps to install it on your system:

1. System Requirements

  • OS: Linux (Ubuntu, Debian), macOS, or Windows
  • Python: 3.7–3.11 (recommended)
  • CUDA: For GPU acceleration (optional)

💡 Tip: For beginners, we recommend using Docker to simplify setup.

2. Installation Methods

📦 Option A: Using pip

pip install tensorflow

This installs the latest stable version. Check installation status for verification.

📦 Option B: Using Conda

conda install -c conda-forge tensorflow

⚠️ Ensure your Conda environment is activated before running the command.

📦 Option C: Docker

docker run --rm -it tensorflow/tensorflow:latest

🖼️ View the TensorFlow Docker image documentation for more details.

3. Post-Installation

tensorflow

TensorFlow Logo 🖼️