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.
Enter in the command prompt window (recommended learning: Python video tutorial)
pip3 install --upgrade tensorflow
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!