TensorFlow is a powerful open-source library for machine learning and deep learning. Follow this guide to install it on your system.
1. Installation Methods 📦
Via pip
The easiest way to install TensorFlow is using pip
. Run:
pip install tensorflow
Via Conda
If you use Anaconda, install with:
conda install -c conda-forge tensorflow
From Source Code
For advanced users, compile from source:
git clone https://github.com/tensorflow/tensorflow.git
cd tensorflow
./configure
bazel build --config=opt //tensorflow:tensorflow
2. Verification 🧪
After installation, verify by running:
import tensorflow as tf
print(tf.__version__)
If successful, you'll see the TensorFlow version.
3. Next Steps 🌐
Once installed, explore more with:
- /ai_toolkit/en/tutorials/tensorflow_guide - TensorFlow Basics
- TensorFlow Official Documentation - For advanced features
💡 Tip: Use pip install tensorflow-graphics
for additional tools like TensorFlow Graphics.