How To Install TensorFlow

tensorflow-cover-003959

Overview

This guide shows how to install and verify TensorFlow. TensorFlow is an end-to-end open source platform for machine learning.

 

Prerequisites

 

Installation

01. Activate your virtual environment, or skip this step if not using virtual environment.


$ source {{virtual-env-directory}}/bin/activate

 

02. Install the TensorFlow package


(geek-venv) $ pip install tensorflow

 

If using the GPU version, use the following command


(geek-venv) $ pip install tensorflow-gpu

03. Verify the TensorFlow version


(geek-venv) $ python

>>> import tensorflow as tf

>>> print(tf.__version__)

 

04. Congratulations! TensorFlow is now installed and usable.

Read More  How Companies Are Actually Using AI In Everyday Practices

For enquiries, product placements, sponsorships, and collaborations, connect with us at [email protected]. We'd love to hear from you!

Read More

Technology

Transforming the Developer Experience for Every Engineering Role

In today’s fast-paced software development landscape, ambitious goals, complex technologies, and shifting prioriti
Read More