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:
  • Install TensorFlow
  • Uninstalling TensorFlow

Was this helpful?

  1. Installation

MacOs

This guide explains how to install TensorFlow on macOS.

Prerequisite:

Python

In order to install TensorFlow, your system must contain one of the following Python versions:

  • Python 2.7

  • Python 3.3+

Pip

Pip installs and manages software packages written in Python. If you intend to install with native pip, then one of the following flavors of pip must be installed on your system:

  • pip, for Python 2.7

  • pip3, for Python 3.n.

pip or pip3 was probably installed on your system when you installed Python. To determine whether pip or pip3 is actually installed on your system, issue one of the following commands:

$ pip -V  # for Python 2.7
$ pip3 -V # for Python 3.n

Xcode

Be sure that xcode version is the newest.

Install TensorFlow

Install TensorFlow by invoking one of the following commands:

$ pip install tensorflow    #Python 2.7; CPU support
$ pip install tensorflow    #Python 3.n; CPU support

Uninstalling TensorFlow

To uninstall TensorFlow, issue one of following commands:

$ pip uninstall tensorflow

$ pip3 uninstall tensorflow
PreviousInstallationNextUbuntu

Last updated 5 years ago

Was this helpful?