TensorFlow in a Python environment, the easiest way to do this is to use the ANACONDA3 integrated environment for installation.
First of all, download the anaconda3,3.6 version or version 2.7 of the Python version in the Anaconda3 website.
You do not need to install the Python direct install Anconda3 beforehand, will automatically install the corresponding Python.
After the Anaconda installation is successful, we need to modify its package management image as a domestic source.
In CMD, run the two commands separately.
Conda config--add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
Conda config--set show_ Channel_urls Yes
After setting up the mirror, create an environment, P35 is the name of the environment, TensorFlow currently supports Python 3.5 so we use the 3.5 version of Python
Conda create-n P35 python=3.5
You can then activate and exit the environment through the Activate P35 and deactivate P35 commands.
Enter Activate P35 Enter the environment, then enter PIP install TensorFlow Press ENTER
will automatically start downloading installation TensorFlow
After all the actions of CMD, the TensorFlow environment is completed.