Windows under anaconda offline installation tensorflow

job requirements need to install tensorflow because the company only has the internal network is not allowed to connect to the external network can only be recorded by offline installation of tensorflow. 1. Install anaconda Your own version is Anaconda3-4.2.0-Windows-x86_64-Python3.5.exe (python version 3.5) Download address (https://www.anaconda.com/download/#windows) 2. The tensorflow package uses tensorflow-1.3.0rc0-cp35-cp35m-win_amd64.whl; (download address: https://mirrors.tuna.tsinghua.edu.cn/tensorflow/windows/cpu/) 3.protoc-3.1.0-win32; (download address: https://github.com/protocolbuffers/protobuf/releases) 4.protobuf-3.1.0 (download address: https://github.com/protocolbuffers/protobuf/releases) Steps: (1) Download and extract protoc-3.1.0-win32, copy the protoc.exe in the bin folder to C:\windows\system32;

(2) enter Anaconda in the installation path of Anaconda\ In the Lib\site-packages directory, create a new tensorflow folder to store the tensorflow installation files;

(3)Download and unzip protobuf-3.1.0, copy the decompressed file protobuf-3.1.0 to the new one. In the tensorflow folder, copy the protoc.exe file obtained in step 2 to the protobuf-3.1.0\src file;

(4) enter the protobuf-3.1.0\python\setup via the cmd command. In the py directory, execute the command python setup.py install;

(5) install tensorflow: copy the installation package tensorflow-1.3.0rc0-cp35-cp35m-win_amd64.whl to Anaconda\Lib\site-packages\tensorflow In the file; then use the cmd command to enter the Anaconda\Lib\site-packages\tensorflow directory and execute the command pip install ttensorflow-1.3.0rc0-cp35-cp35m-win_amd64. Whl to install, after the installation is complete, open Anaconda, enter the spyder, enter import tensorflow as tf under the Ipython command line, if not error, the tensorflow installation is successful.