TensorFlow is tested and supported on the following 64-bit systems:
Download a package
Install TensorFlow with Python's pip package manager.
Official packages available for Ubuntu, Windows, macOS, and the Raspberry Pi.
GPU packages require a CUDA®-enabled GPU card.
# Current release for CPU-only
pip install tensorflow
# Nightly build for CPU-only (unstable)
pip install tf-nightly
# GPU package for CUDA-enabled GPU cards
pip install tensorflow-gpu
# Nightly build with GPU support (unstable)
pip install tf-nightly-gpu
Run a TensorFlow container
docker pull tensorflow/tensorflow # Download latest image
docker run -it -p 8888:8888 tensorflow/tensorflow # Start a Jupyter notebook server
Google Colab: An easy way to learn and use TensorFlow
No install necessary—run the TensorFlow tutorials directly in the browser with Colaboratory, a Google research project created to help disseminate machine learning education and research. It's a Jupyter notebook environment that requires no setup to use and runs entirely in the cloud. Read the blog post.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 3.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.