Install Tensorflow based on Anaconda in windows environment

Each software parameter:

  Anaconda : 4.3.0 Download address 1: https://www.anaconda.com/download/ (official website)

                  Download address 2: https://mirrors.tuna.tsinghua.edu.cn/help/anaconda/ (Tsinghua University Mirror Network)

  Python :  3.5.2       

  Tensorflow :  1.2.0  

installation steps:

  1. After downloading Anaconda, double-click the .exe file to install it, enter the terminal, and enter conda --version to confirm whether the installation is successful.

  2. Enter conda create -name tensorflow python=3.5.2 in the terminal to install Python in the virtual environment. The version number can be changed by yourself.

  3. Follow the prompts to activate the tensorflow environment: the activate tensorflow terminal will display the words " (tensorflow)" before the next line. Exit the current environment, then enter: deactivate tensorflow

The following starts to install Tensorflow:

  1. Select the installation of official documents

        pip install -ignore-installed -upgrade https://storage.googleapis.com/tensorflow/windows/cpu/tensorflow-1.2.0-cp35-cp35m-win_x86_64.whl

    or:

        pip install tensorflow

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324605523&siteId=291194637