Tensor Flow
  • Tensor Flow
  • Introduction
  • Installation
    • MacOs
    • Ubuntu
  • Applications
    • Chatbot
      • Introduction
        • Concepts and parameters
      • Dependencies
        • Libraries
        • Data - Reddit
      • Data Structure
      • Buffering Data
      • Building DataBase
      • Training DataBase and Model
      • Interaction with ChatBot
    • Image Recognition
      • Introduction
      • Dependecies
      • Example
        • Results
Powered by GitBook
On this page
  • Prerequisite: Python and Pip
  • Install TensorFlow
  • Uninstalling TensorFlow

Was this helpful?

  1. Installation

Ubuntu

This guide explains how to install TensorFlow on Ubuntu.

Prerequisite: Python and Pip

Python is automatically installed on Ubuntu. Take a moment to confirm (by issuing a python -V command) that one of the following Python versions is already installed on your system:

  • Python 2.7

  • Python 3.4+

Install TensorFlow

Assuming the prerequisite software is installed on your Linux host, take the following steps:

  1. Install TensorFlow by invoking one of the following commands:

    $ pip install tensorflow      # Python 2.7; CPU support (no GPU support)
    $ pip3 install tensorflow     # Python 3.n; CPU support (no GPU support)
    $ pip install tensorflow-gpu  # Python 2.7;  GPU support

Uninstalling TensorFlow

To uninstall TensorFlow, issue one of following commands:

$ sudo pip uninstall tensorflow  # for Python 2.7
$ sudo pip3 uninstall tensorflow # for Python 3.n
PreviousMacOsNextApplications

Last updated 5 years ago

Was this helpful?