1. System Requirements 📱

  • Operating System: Linux, macOS, or Windows
  • Python Version: 3.7–3.11 (for CPU-only installation)
  • GPU Support (optional): NVIDIA GPU with CUDA support for accelerated computation

2. Installation Methods 🛠️

Option 1: Using pip

pip install tensorflow  

📌 Note: This installs the latest stable version. For specific versions, add ==x.x.x (e.g., ==2.15.0).

Option 2: Using conda

conda install -c conda-forge tensorflow  

⚠️ Ensure your environment is activated before installing.

Option 3: From Source (Advanced)

Follow the TensorFlow GitHub guide for compiling from source.

3. Verify Installation 🧪

Run the following code in Python:

import tensorflow as tf  
print(tf.__version__)  

✅ If TensorFlow is installed correctly, it will display the version number.

4. Next Steps 🚀

Check out our Getting Started with TensorFlow tutorial to build your first model!

tensorflow_logo
python_install
tensorflow_version_check