Intelligence, Inside and Outside.

How To Install TensorFlow

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  Unleashing The Power Of Code. Paving The Sustainable Path In Software Engineering.

For enquiries, product placements, sponsorships, and collaborations, connect with us at [email protected]. We'd love to hear from you!
Share this article
Shareable URL
Prev Post

In Tech We Trust?

Next Post

Artificial Intelligence Has A Gender Bias Problem – Just Ask Siri

Read next