TensorFlow is a free and open-source software library developed by Google for numerical computation and building machine learning and deep learning models. It supports running on multiple CPUs and GPUs, making it highly efficient for ML and DL projects.
Features of Tensorflow
- Computational Framework: Uses a dataflow graph to represent computation.
- High Performance: Optimized for performance across CPUs and GPUs.
- Mobile Deployment: Supports deployment on mobile and embedded devices.
- Scalability: Can scale across multiple machines and large datasets.
Steps to Install TensorFlow on Windows
Step 1: Install Python
- Download Python from the official Python website
- Select Python version 3.7 to 3.11. TensorFlow does not support Python 3.14 yet.
- During installation, check the box Add Python to PATH.
Step 2: Open Command Prompt
Press Windows + R, type cmd, and press Enter
Step 3: Upgrade pip
Before installing TensorFlow, upgrade pip to the latest version. pip is the Python package manager used to install packages.
python -m pip install --upgrade pip

Step 4: Install TensorFlow
Run the following command in the Command Prompt:
pip install tensorflow

This will install the latest stable version of TensorFlow along with all required dependencies.
Step 5: Verify Installation
Open Python in the Command Prompt:
python
Import TensorFlow and check the installed version, if no errors appear, TensorFlow is installed successfully.
import tensorflow as tf
print(tf.__version__)
