Home  >  Article  >  Backend Development  >  How to install tensorflow in python

How to install tensorflow in python

(*-*)浩
(*-*)浩Original
2019-06-27 10:39:5310805browse

TensorFlow™ is a symbolic mathematics system based on dataflow programming. It is widely used in the programming implementation of various machine learning algorithms. Its predecessor is DistBelief, Google's neural network algorithm library.

How to install tensorflow in python

Enter in the command prompt window (recommended learning: Python video tutorial)

pip3 install --upgrade tensorflow

How to install tensorflow in python

The pip3 command is a Python-specific command for installing and managing third-party modules. tensorflow is just a functional module of python.

The downloading process may be very slow, taking more than ten minutes or more. If the progress is stuck, you can press Enter a few times to try.

You can also download tensorflow-1.6.0-cp36-cp36m-win_amd64.whl. After downloading, enter the folder where the downloaded file is stored from the command prompt window and execute

pip3 install tensorflow-1.6.0-cp36-cp36m-win_amd64.whl

Then it will automatically download and install other modules necessary for tensorflow, such as wheel, six, protobuf, termcolor, gast, astor, grpcio, numpy, html5lib, bleach, werkzeug, markdown, tensorboard, absl-py, tensorflow, etc.

For more Python related technical articles, please visit the Python Tutorial column to learn!

The above is the detailed content of How to install tensorflow in python. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn