ArcGIS 10.5 tensorflow安装日记

商务科技合作:向日葵,135—4855__4328,xiexiaokui#qq.com

Datetime: 2019年5月27日星期一

Os: win 10 64bits

Gis: arcgis 10.5 32 bits

Python: 2.7 32 bits

Tf: tensorflow 1.10 cpu 32 bits

Result:

 

参考:

https://packaging.python.org/tutorials/installing-packages/

 

D:\ArcPy\pi\pip-19.1.1>python -m ensurepip --default-pip

Ignoring indexes: https://pypi.python.org/simple

Collecting setuptools

Collecting pip

Installing collected packages: setuptools, pip

Successfully installed pip-8.1.1 setuptools-20.10.1

 

D:\ArcPy\pi\pip-19.1.1>pip --version

pip 8.1.1 from D:\Python27\ArcGIS10.5\Lib\site-packages (python 2.7)

 

D:\ArcPy\pi\pip-19.1.1>python --version

Python 2.7.14

 

D:\ArcPy\pi\pip-19.1.1>pip install setuptools

Requirement already satisfied (use --upgrade to upgrade): setuptools in d:\python27\arcgis10.5\lib\site-packages

You are using pip version 8.1.1, however version 19.1.1 is available.

You should consider upgrading via the 'python -m pip install --upgrade pip' command.

 

D:\ArcPy\pi\pip-19.1.1>python -m pip install --upgrade pip

Cache entry deserialization failed, entry ignored

Collecting pip

Downloading https://files.pythonhosted.org/packages/5c/e0/be401c003291b56efc55aeba6a80ab790d3d4cece2778288d65323009420/pip-19.1.1-py2.py3-none-any.whl (1.4MB)

 

Installing collected packages: pip

Found existing installation: pip 8.1.1

Uninstalling pip-8.1.1:

Successfully uninstalled pip-8.1.1

Successfully installed pip-19.1.1

 

D:\ArcPy\pi\pip-19.1.1>pip install setuptools

Requirement already satisfied: setuptools in d:\python27\arcgis10.5\lib\site-packages (20.10.1)

 

D:\ArcPy\pi\pip-19.1.1>pip download tensorflow

DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.

Collecting tensorflow

ERROR: Could not find a version that satisfies the requirement tensorflow (from versions: none)

ERROR: No matching distribution found for tensorflow

 

There is a great Github repo which has *.whl file to install. support py27 and py36

  1. go to fo40225's Github Repo tensorflow-windows-wheel
  2. find a tensorflow whl version and download
  3. pip install xxx.whl (xxx is your download whl file name)

     

     

     

    https://github.com/fo40225/tensorflow-windows-wheel

     

     

    fo40225
    ‎NVIDIA GPU Cloud tensorflow:19.03 for windows

    Latest commit a7fffdfon 23 Mar

    Type

    Name

    Latest commit message

    Commit time

     

    0.12.0/py35

    0.12.0

    a year ago

     

    1.0.0/py36

    1.0.0

    a year ago

     

    1.1.0/py36

    1.1.0

    a year ago

     

    1.10.0

    rebuild tensorflow 1.10.0 python 2.7 windows

    6 months ago

     

    1.11.0

    tensorflow 1.12.0 for python 3.7

    7 months ago

     

    1.12.0

    tensorflow 1.12.0 for python 3.7

    7 months ago

     

    1.13.1/py37

    ‎NVIDIA GPU Cloud tensorflow:19.03 for windows

    2 months ago

     

    1.2.1/py36

    1.2.1

    a year ago

     

    1.3.0/py36

    1.3.0

    a year ago

     

    1.4.0/py36

    1.5.0

    a year ago

     

    1.5.0

    1.5.0 py27

    a year ago

     

    1.6.0

    rebuild 1.6.0 py36 GPU with CUDA 9.1.85.3 / cuDNN 7.1.1

    a year ago

     

    1.7.0

    1.8.0 cpu py36 cpp sse2 x64

    a year ago

     

    1.7.1

    1.7.1 gpu avx2 cuda 9.2

    11 months ago

     

    1.8.0

    1.8.0 python 2.7 cuda 9.2

    11 months ago

     

    1.9.0

    tensorflow 1.10.0

    9 months ago

     

    README.md

    tensorflow 1.13.1 windows cuda 10.1

    2 months ago

    README.md

    tensorflow-windows-wheel

    This repo contains all you need that work with tensorflow on windows.

  • Python 3.7 support
  • 64 bit Windows support
  • Legacy & low-end CPU (without AVX) support
  • If your CPU didn't support AVX instructions, you will get ImportError: DLL load failed: A dynamic link library (DLL) initialization routine failed. (Win 10) or ImportError: DLL load failed with error code -1073741795 (Win 7) when using tensorflow official release 1.6.0 and up (pip install tensorflow)
  • You can use pip install [filename].whl which file download from sse2 folder instead of using official AVX binary.
  • Legacy GPU (compute capability 3.0 up) support
  • Because this repo's binary only contain PTX code, it need to do a Just-In-Time compile to SASS to target your graphic card by your driver. It will take time for compiling when execute tensorflow first time.

    Path

    Compiler

    CUDA/cuDNN

    SIMD

    Notes

    1.13.1\py37\CPU\sse2

    VS2017 15.9

    No

    x86_64

    Python 3.7

    1.13.1\py37\CPU\avx2

    VS2017 15.9

    No

    AVX2

    Python 3.7

    1.13.1\py37\GPU\cuda101cudnn75sse2

    VS2017 15.9

    10.1.105_418.96/7.5.0.56

    x86_64

    Python 3.7/Compute 3.0

    1.13.1\py37\GPU\cuda101cudnn75avx2

    VS2017 15.9

    10.1.105_418.96/7.5.0.56

    AVX2

    Python 3.7/Compute 3.0,3.5,5.0,5.2,6.1,7.0,7.5

    1.12.0\py36\CPU\sse2

    VS2017 15.8

    No

    x86_64

    Python 3.6

    1.12.0\py36\CPU\avx2

    VS2017 15.8

    No

    AVX2

    Python 3.6

    1.12.0\py36\GPU\cuda100cudnn73sse2

    VS2017 15.8

    10.0.130_411.31/7.3.1.20

    x86_64

    Python 3.6/Compute 3.0

    1.12.0\py36\GPU\cuda100cudnn73avx2

    VS2017 15.8

    10.0.130_411.31/7.3.1.20

    AVX2

    Python 3.6/Compute 3.0,3.5,5.0,5.2,6.1,7.0,7.5

    1.12.0\py37\CPU\sse2

    VS2017 15.8

    No

    x86_64

    Python 3.7

    1.12.0\py37\CPU\avx2

    VS2017 15.8

    No

    AVX2

    Python 3.7

    1.12.0\py37\GPU\cuda100cudnn73sse2

    VS2017 15.8

    10.0.130_411.31/7.3.1.20

    x86_64

    Python 3.7/Compute 3.0

    1.12.0\py37\GPU\cuda100cudnn73avx2

    VS2017 15.8

    10.0.130_411.31/7.3.1.20

    AVX2

    Python 3.7/Compute 3.0,3.5,5.0,5.2,6.1,7.0,7.5

    1.11.0\py36\CPU\sse2

    VS2017 15.8

    No

    x86_64

    Python 3.6

    1.11.0\py36\CPU\avx2

    VS2017 15.8

    No

    AVX2

    Python 3.6

    1.11.0\py36\GPU\cuda100cudnn73sse2

    VS2017 15.8

    10.0.130_411.31/7.3.0.29

    x86_64

    Python 3.6/Compute 3.0

    1.11.0\py36\GPU\cuda100cudnn73avx2

    VS2017 15.8

    10.0.130_411.31/7.3.0.29

    AVX2

    Python 3.6/Compute 3.0,3.5,5.0,5.2,6.1,7.0,7.5

    1.11.0\py37\CPU\sse2

    VS2017 15.8

    No

    x86_64

    Python 3.7

    1.11.0\py37\CPU\avx2

    VS2017 15.8

    No

    AVX2

    Python 3.7

    1.11.0\py37\GPU\cuda100cudnn73sse2

    VS2017 15.8

    10.0.130_411.31/7.3.0.29

    x86_64

    Python 3.7/Compute 3.0

    1.11.0\py37\GPU\cuda100cudnn73avx2

    VS2017 15.8

    10.0.130_411.31/7.3.0.29

    AVX2

    Python 3.7/Compute 3.0,3.5,5.0,5.2,6.1,7.0,7.5

    1.10.0\py36\CPU\sse2

    VS2017 15.8

    No

    x86_64

    Python 3.6

    1.10.0\py36\CPU\avx2

    VS2017 15.8

    No

    AVX2

    Python 3.6

    1.10.0\py36\GPU\cuda92cudnn72sse2

    VS2017 15.8

    9.2.148.1/7.2.1.38

    x86_64

    Python 3.6/Compute 3.0

    1.10.0\py36\GPU\cuda92cudnn72avx2

    VS2017 15.8

    9.2.148.1/7.2.1.38

    AVX2

    Python 3.6/Compute 3.0,3.5,5.0,5.2,6.1,7.0

    1.10.0\py27\CPU\sse2

    VS2017 15.8

    No

    x86_64

    Python 2.7

    1.10.0\py27\CPU\avx2

    VS2017 15.8

    No

    AVX2

    Python 2.7

    1.10.0\py27\GPU\cuda92cudnn72sse2

    VS2017 15.8

    9.2.148.1/7.2.1.38

    x86_64

    Python 2.7/Compute 3.0

    1.10.0\py27\GPU\cuda92cudnn72avx2

    VS2017 15.8

    9.2.148.1/7.2.1.38

    AVX2

    Python 2.7/Compute 3.0,3.5,5.0,5.2,6.1,7.0

    1.9.0\py36\CPU\sse2

    VS2017 15.7

    No

    x86_64

    Python 3.6

    1.9.0\py36\CPU\avx2

    VS2017 15.7

    No

    AVX2

    Python 3.6

    1.9.0\py36\GPU\cuda92cudnn71sse2

    VS2017 15.7

    9.2.148/7.1.4

    x86_64

    Python 3.6/Compute 3.0

    1.9.0\py36\GPU\cuda92cudnn71avx2

    VS2017 15.7

    9.2.148/7.1.4

    AVX2

    Python 3.6/Compute 3.0,3.5,5.0,5.2,6.1,7.0

    1.9.0\py27\CPU\sse2

    VS2017 15.7

    No

    x86_64

    Python 2.7

    1.9.0\py27\CPU\avx2

    VS2017 15.7

    No

    AVX2

    Python 2.7

    1.9.0\py27\GPU\cuda92cudnn71sse2

    VS2017 15.7

    9.2.148/7.1.4

    x86_64

    Python 2.7/Compute 3.0

    1.9.0\py27\GPU\cuda92cudnn71avx2

    VS2017 15.7

    9.2.148/7.1.4

    AVX2

    Python 2.7/Compute 3.0,3.5,5.0,5.2,6.1,7.0

    1.8.0\py36\CPU\sse2

    VS2017 15.4

    No

    x86_64

    Python 3.6

    1.8.0\py36\CPU\avx2

    VS2017 15.4

    No

    AVX2

    Python 3.6

    1.8.0\py36\GPU\cuda91cudnn71sse2

    VS2017 15.4

    9.1.85.3/7.1.3

    x86_64

    Python 3.6/Compute 3.0

    1.8.0\py36\GPU\cuda91cudnn71avx2

    VS2017 15.4

    9.1.85.3/7.1.3

    AVX2

    Python 3.6/Compute 3.0,3.5,5.0,5.2,6.1,7.0

    1.8.0\py27\CPU\sse2

    VS2017 15.4

    No

    x86_64

    Python 2.7

    1.8.0\py27\CPU\avx2

    VS2017 15.4

    No

    AVX2

    Python 2.7

    1.8.0\py27\GPU\cuda91cudnn71sse2

    VS2017 15.4

    9.1.85.3/7.1.3

    x86_64

    Python 2.7/Compute 3.0

    1.8.0\py27\GPU\cuda91cudnn71avx2

    VS2017 15.4

    9.1.85.3/7.1.3

    AVX2

    Python 2.7/Compute 3.0,3.5,5.0,5.2,6.1,7.0

    1.7.0\py36\CPU\sse2

    VS2017 15.4

    No

    x86_64

    Python 3.6

    1.7.0\py36\CPU\avx2

    VS2017 15.4

    No

    AVX2

    Python 3.6

    1.7.0\py36\GPU\cuda91cudnn71sse2

    VS2017 15.4

    9.1.85.3/7.1.2

    x86_64

    Python 3.6/Compute 3.0

    1.7.0\py36\GPU\cuda91cudnn71avx2

    VS2017 15.4

    9.1.85.3/7.1.2

    AVX2

    Python 3.6/Compute 3.0,3.5,5.0,5.2,6.1,7.0

    1.7.0\py27\CPU\sse2

    VS2017 15.4

    No

    x86_64

    Python 2.7

    1.7.0\py27\CPU\avx2

    VS2017 15.4

    No

    AVX2

    Python 2.7

    1.7.0\py27\GPU\cuda91cudnn71sse2

    VS2017 15.4

    9.1.85.3/7.1.2

    x86_64

    Python 2.7/Compute 3.0

    1.7.0\py27\GPU\cuda91cudnn71avx2

    VS2017 15.4

    9.1.85.3/7.1.2

    AVX2

    Python 2.7/Compute 3.0,3.5,5.0,5.2,6.1,7.0

    1.6.0\py36\CPU\sse2

    VS2017 15.4

    No

    x86_64

    Python 3.6

    1.6.0\py36\CPU\avx2

    VS2017 15.4

    No

    AVX2

    Python 3.6

    1.6.0\py36\GPU\cuda91cudnn71sse2

    VS2017 15.4

    9.1.85.3/7.1.1

    x86_64

    Python 3.6/Compute 3.0

    1.6.0\py36\GPU\cuda91cudnn71avx2

    VS2017 15.4

    9.1.85.3/7.1.1

    AVX2

    Python 3.6/Compute 3.0,3.5,5.0,5.2,6.1,7.0

    1.6.0\py27\CPU\sse2

    VS2017 15.4

    No

    x86_64

    Python 2.7

    1.6.0\py27\CPU\avx2

    VS2017 15.4

    No

    AVX2

    Python 2.7

    1.6.0\py27\GPU\cuda91cudnn71sse2

    VS2017 15.4

    9.1.85.2/7.1.1

    x86_64

    Python 2.7/Compute 3.0

    1.6.0\py27\GPU\cuda91cudnn71avx2

    VS2017 15.4

    9.1.85.2/7.1.1

    AVX2

    Python 2.7/Compute 3.0,3.5,5.0,5.2,6.1,7.0

    1.5.0\py36\CPU\avx

    VS2017 15.4

    No

    AVX

    Python 3.6

    1.5.0\py36\CPU\avx2

    VS2017 15.4

    No

    AVX2

    Python 3.6

    1.5.0\py36\GPU\cuda91cudnn7avx2

    VS2017 15.4

    9.1.85/7.0.5

    AVX2

    Python 3.6/Compute 3.0,3.5,5.0,5.2,6.1,7.0

    1.5.0\py27\CPU\sse2

    VS2017 15.4

    No

    x86_64

    Python 2.7

    1.5.0\py27\CPU\avx

    VS2017 15.4

    No

    AVX

    Python 2.7

    1.5.0\py27\CPU\avx2

    VS2017 15.4

    No

    AVX2

    Python 2.7

    1.5.0\py27\GPU\cuda91cudnn7sse2

    VS2017 15.4

    9.1.85/7.0.5

    x86_64

    Python 2.7/Compute 3.0

    1.5.0\py27\GPU\cuda91cudnn7avx2

    VS2017 15.4

    9.1.85/7.0.5

    AVX2

    Python 2.7/Compute 3.0,3.5,5.0,5.2,6.1,7.0

    1.4.0\py36\CPU\avx

    VS2017 15.4

    No

    AVX

    Python 3.6

    1.4.0\py36\CPU\avx2

    VS2017 15.4

    No

    AVX2

    Python 3.6

    1.4.0\py36\GPU\cuda91cudnn7avx2

    VS2017 15.4

    9.1.85/7.0.5

    AVX2

    Python 3.6/Compute 3.0,3.5,5.0,5.2,6.1,7.0

    1.3.0\py36\CPU\avx

    VS2015 Update 3

    No

    AVX

    Python 3.6

    1.3.0\py36\CPU\avx2

    VS2015 Update 3

    No

    AVX2

    Python 3.6

    1.3.0\py36\GPU\cuda8cudnn6avx2

    VS2015 Update 3

    8.0.61.2/6.0.21

    AVX2

    Python 3.6/Compute 3.0,3.5,5.0,5.2,6.1

    1.2.1\py36\CPU\avx

    VS2015 Update 3

    No

    AVX

    Python 3.6

    1.2.1\py36\CPU\avx2

    VS2015 Update 3

    No

    AVX2

    Python 3.6

    1.2.1\py36\GPU\cuda8cudnn6avx2

    VS2015 Update 3

    8.0.61.2/6.0.21

    AVX2

    Python 3.6/Compute 3.0,3.5,5.0,5.2,6.1

    1.1.0\py36\CPU\avx

    VS2015 Update 3

    No

    AVX

    Python 3.6

    1.1.0\py36\CPU\avx2

    VS2015 Update 3

    No

    AVX2

    Python 3.6

    1.1.0\py36\GPU\cuda8cudnn6avx2

    VS2015 Update 3

    8.0.61.2/6.0.21

    AVX2

    Python 3.6/Compute 3.0,3.5,5.0,5.2,6.1

    1.0.0\py36\CPU\sse2

    VS2015 Update 3

    No

    x86_64

    Python 3.6

    1.0.0\py36\CPU\avx

    VS2015 Update 3

    No

    AVX

    Python 3.6

    1.0.0\py36\CPU\avx2

    VS2015 Update 3

    No

    AVX2

    Python 3.6

    1.0.0\py36\GPU\cuda8cudnn51sse2

    VS2015 Update 3

    8.0.61.2/5.1.10

    x86_64

    Python 3.6/Compute 3.0

    1.0.0\py36\GPU\cuda8cudnn51avx2

    VS2015 Update 3

    8.0.61.2/5.1.10

    AVX2

    Python 3.6/Compute 3.0,3.5,5.0,5.2,6.1

    0.12.0\py35\CPU\avx

    VS2015 Update 3

    No

    AVX

    Python 3.5

    0.12.0\py35\CPU\avx2

    VS2015 Update 3

    No

    AVX2

    Python 3.5

    0.12.0\py35\GPU\cuda8cudnn51avx2

    VS2015 Update 3

    8.0.61.2/5.1.10

    AVX2

    Python 3.5/Compute 3.0,3.5,5.0,5.2,6.1

    https://github.com/fo40225/tensorflow-windows-wheel/tree/master/1.10.0

    https://github.com/fo40225/tensorflow-windows-wheel/trunk/1.10.0

     

     

     

     

    https://www.visualsvn.com/visualsvn/download/

    VisualSVN for Visual Studio 2019

     

     

     

    pip --version

    pip 19.1.1 from D:\Python27\ArcGIS10.5\Lib\site-packages\pip (python 2.7)

    wheel文件本质上就是zip或者rar,只不过他更加方便python的安装以及使用。在之前的图片中我们只要使用pip install wheel 就可以安装wheel。

    之前直接使用pip install beautifulsoup来安装beautifulsoup,

    在安装了wheel之后我们可以使使用pip install XXX.whl来安装.whl的文件了。

    D:\ArcPy\pi\tensorflow-windows-wheel-1100\py27\GPU\cuda92cudnn72avx2>pip install tensorflow_gpu-1.10.0-cp27-cp27m-win_amd64.whl

    ERROR: tensorflow_gpu-1.10.0-cp27-cp27m-win_amd64.whl is not a supported wheel on this platform.

     

    D:\ArcPy\pi\tensorflow-windows-wheel-1100\py27\GPU>cd D:\ArcPy\pi\tensorflow-windows-wheel-1100\py27\GPU\cuda92cudnn72sse2

     

    D:\ArcPy\pi\tensorflow-windows-wheel-1100\py27\GPU\cuda92cudnn72sse2>pip install tensorflow_gpu-1.10.0-cp27-cp27m-win_amd64.whl

    ERROR: tensorflow_gpu-1.10.0-cp27-cp27m-win_amd64.whl is not a supported wheel on this platform.

     

    D:\ArcPy\pi\tensorflow-windows-wheel-1100\py27\CPU\sse2>pip install tensorflow-1.10.0-cp27-cp27m-win32.whl

    ERROR: markdown 3.1.1 has requirement setuptools>=36, but you'll have setuptools 20.10.1 which is incompatible.

    Installing collected packages: futures, enum34, grpcio, funcsigs, mock, absl-py, gast, termcolor, protobuf, markdown, werkzeug, numpy, tensorboard, backports.weakref, astor, tensorflow

    Found existing installation: numpy 1.9.3

    ERROR: Cannot uninstall 'numpy'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.

     

    D:\ArcPy\pi\tensorflow-windows-wheel-1100\py27\CPU\sse2>pip install setuptools --upgrade

    Collecting setuptools

    Downloading https://files.pythonhosted.org/packages/ec/51/f45cea425fd5cb0b0380f5b0f048ebc1da5b417e48d304838c02d6288a1e/setuptools-41.0.1-py2.py3-none-any.whl (575kB)

    Installing collected packages: setuptools

    Found existing installation: setuptools 20.10.1

    Uninstalling setuptools-20.10.1:

    Successfully uninstalled setuptools-20.10.1

    Successfully installed setuptools-41.0.1

     

     

    D:\ArcPy\pi\tensorflow-windows-wheel-1100\py27\CPU\sse2>python -c "import numpy; print numpy.version.version"

     

    1.9.3

     

    C:\Users\think>python -c "import numpy; print numpy.__file__"

     

    D:\Python27\ArcGIS10.5\Lib\site-packages\numpy\__init__.pyc

     

    D:\ArcPy\pi\tensorflow-windows-wheel-1100\py27\CPU\sse2>pip install --upgrade --ignore-installed numpy

    Collecting numpy

    Downloading https://files.pythonhosted.org/packages/36/06/1feea5c3fdcced8847f3a80c9a912cc065bcdafc1cb3e34d63f21391950d/numpy-1.16.3-cp27-cp27m-win32.whl (10.0MB)

     

    Installing collected packages: numpy

    Successfully installed numpy-1.16.3

     

    D:\ArcPy\pi\tensorflow-windows-wheel-1100\py27\CPU\sse2>pip install tensorflow-1.10.0-cp27-cp27m-win32.whl

    Processing d:\arcpy\pi\tensorflow-windows-wheel-1100\py27\cpu\sse2\tensorflow-1.10.0-cp27-cp27m-win32.whl

    Requirement already satisfied: mock>=2.0.0 in d:\python27\arcgis10.5\lib\site-packages (from tensorflow==1.10.0) (3.0.5)

    Requirement already satisfied: six>=1.10.0 in d:\python27\arcgis10.5\lib\site-packages (from tensorflow==1.10.0) (1.10.0)

    Requirement already satisfied: grpcio>=1.8.6 in d:\python27\arcgis10.5\lib\site-packages (from tensorflow==1.10.0) (1.21.1)

    Requirement already satisfied: absl-py>=0.1.6 in d:\python27\arcgis10.5\lib\site-packages (from tensorflow==1.10.0) (0.7.1)

    Requirement already satisfied: gast>=0.2.0 in d:\python27\arcgis10.5\lib\site-packages (from tensorflow==1.10.0) (0.2.2)

    Requirement already satisfied: termcolor>=1.1.0 in d:\python27\arcgis10.5\lib\site-packages (from tensorflow==1.10.0) (1.1.0)

    Requirement already satisfied: protobuf>=3.6.0 in d:\python27\arcgis10.5\lib\site-packages (from tensorflow==1.10.0) (3.7.1)

    Requirement already satisfied: enum34>=1.1.6 in d:\python27\arcgis10.5\lib\site-packages (from tensorflow==1.10.0) (1.1.6)

    Collecting tensorboard<1.11.0,>=1.10.0 (from tensorflow==1.10.0)

    Using cached https://files.pythonhosted.org/packages/e0/11/8ac6a52179a290a249f80cb6e157f1bb1f87a7e44dba8a0869701d8076cb/tensorboard-1.10.0-py2-none-any.whl

    Collecting backports.weakref>=1.0rc1 (from tensorflow==1.10.0)

    Using cached https://files.pythonhosted.org/packages/88/ec/f598b633c3d5ffe267aaada57d961c94fdfa183c5c3ebda2b6d151943db6/backports.weakref-1.0.post1-py2.py3-none-any.whl

    Collecting astor>=0.6.0 (from tensorflow==1.10.0)

    Using cached https://files.pythonhosted.org/packages/d1/4f/950dfae467b384fc96bc6469de25d832534f6b4441033c39f914efd13418/astor-0.8.0-py2.py3-none-any.whl

    Requirement already satisfied: wheel in d:\python27\arcgis10.5\lib\site-packages (from tensorflow==1.10.0) (0.29.0)

    Collecting setuptools<=39.1.0 (from tensorflow==1.10.0)

    Using cached https://files.pythonhosted.org/packages/8c/10/79282747f9169f21c053c562a0baa21815a8c7879be97abd930dbcf862e8/setuptools-39.1.0-py2.py3-none-any.whl

    Collecting numpy<=1.14.5,>=1.13.3 (from tensorflow==1.10.0)

    Using cached https://files.pythonhosted.org/packages/e2/60/e00686d7223ec811f0a5a1a41df9afa1833a0e3468daa252dc42a2b32211/numpy-1.14.5-cp27-none-win32.whl

    Requirement already satisfied: funcsigs>=1; python_version < "3.3" in d:\python27\arcgis10.5\lib\site-packages (from mock>=2.0.0->tensorflow==1.10.0) (1.0.2)

    Requirement already satisfied: futures>=2.2.0 in d:\python27\arcgis10.5\lib\site-packages (from grpcio>=1.8.6->tensorflow==1.10.0) (3.2.0)

    Requirement already satisfied: markdown>=2.6.8 in d:\python27\arcgis10.5\lib\site-packages (from tensorboard<1.11.0,>=1.10.0->tensorflow==1.10.0) (3.1.1)

    Requirement already satisfied: werkzeug>=0.11.10 in d:\python27\arcgis10.5\lib\site-packages (from tensorboard<1.11.0,>=1.10.0->tensorflow==1.10.0) (0.15.4)

    Installing collected packages: numpy, tensorboard, backports.weakref, astor, setuptools, tensorflow

    Found existing installation: numpy 1.16.3

    Uninstalling numpy-1.16.3:

    Successfully uninstalled numpy-1.16.3

    Found existing installation: setuptools 41.0.1

    Uninstalling setuptools-41.0.1:

    Successfully uninstalled setuptools-41.0.1

    Successfully installed astor-0.8.0 backports.weakref-1.0.post1 numpy-1.14.5 setuptools-39.1.0 tensorboard-1.10.0 tensorflow-1.10.0

     

    >>> import tensorflow

    Runtime error

    Traceback (most recent call last):

    File "<string>", line 1, in <module>

    File "D:\Python27\ArcGIS10.5\Lib\site-packages\tensorflow\__init__.py", line 22, in <module>

    from tensorflow.python import pywrap_tensorflow # pylint: disable=unused-import

    File "D:\Python27\ArcGIS10.5\Lib\site-packages\tensorflow\python\__init__.py", line 52, in <module>

    from tensorflow.core.framework.graph_pb2 import *

    File "D:\Python27\ArcGIS10.5\Lib\site-packages\tensorflow\core\framework\graph_pb2.py", line 6, in <module>

    from google.protobuf import descriptor as _descriptor

    ImportError: No module named google.protobuf

     

    C:\Users\think>pip install protobuf==3.6.0

    Collecting protobuf==3.6.0

    Downloading https://files.pythonhosted.org/packages/85/f8/d09e4bf21c4de65405ce053e90542e728c5b7cf296b9df36b0bf0488f534/protobuf-3.6.0-py2.py3-none-any.whl (390kB)

    Requirement already satisfied: setuptools in d:\python27\arcgis10.5\lib\site-packages (from protobuf==3.6.0) (39.1.0)

    Requirement already satisfied: six>=1.9 in d:\python27\arcgis10.5\lib\site-packages (from protobuf==3.6.0) (1.10.0)

    Installing collected packages: protobuf

    Found existing installation: protobuf 3.7.1

    Uninstalling protobuf-3.7.1:

    Successfully uninstalled protobuf-3.7.1

    Successfully installed protobuf-3.6.0

     

    >>> import tensorflow as tf

    Runtime error

    Traceback (most recent call last):

    File "<string>", line 1, in <module>

    File "D:\Python27\ArcGIS10.5\Lib\site-packages\tensorflow\__init__.py", line 22, in <module>

    from tensorflow.python import pywrap_tensorflow # pylint: disable=unused-import

    File "D:\Python27\ArcGIS10.5\Lib\site-packages\tensorflow\python\__init__.py", line 49, in <module>

    from tensorflow.python import pywrap_tensorflow

    ImportError: cannot import name pywrap_tensorflow

     

    入门

    http://www.tensorfly.cn/tfdoc/get_started/basic_usage.html

     

    商务科技合作:向日葵,135—4855__4328,xiexiaokui#qq.com

ArcGIS 10.5 tensorflow安装日记的更多相关文章

  1. arcgis 10.3中文版安装教程、配置及常见问题(百度的有些错误)

    参考的: 1.http://wenku.baidu.com/link?url=W-wo_lEMvzHxF19w91X7H0WDjyCQ16DjGu4ViaZ4-eVPr0NTU-LrZTPK1oyzT ...

  2. Win7 ArcGIS 10.5 安装错误 A service pack is required on this operatiing system

    前段时间有朋友反馈在Win7专业版下安装ArcGIS 10.5, 无法安装,弹出错误: A service pack is required on this operatiing system,如图: ...

  3. ArcGIS 10.1系列产品 升级安装至 ArcGIS 10.2

    概要 分享ArcGIS10.1系列产品(包括desktop.engine.server)升级到ArcGIS10.2的过程,并提供安装ArcGIS10.2安装的详细文档下载链接和crack需要的文件: ...

  4. ArcGIS 10.2安装及卸载教程

    卸载 在控制面板中找到程序->卸载程序 找到ArcGIS的相关软件 这里以ArcGIS 10.2 Destop为例,选中,然后点击卸载,会出现如下界面 选择Remove,然后根据提示进行操作,即 ...

  5. ArcGIS Server开发教程系列(1) Arcgis server 10.1 的安装

    本系列所使用的软件版本如下: Windows 7 X64 / Windows server 2008 X64 Arcgis for Desktop 10.1 Arcgis 10.1 for serve ...

  6. ArcGIS 10与ArcEngine 10安装及破解

    1 2 3 4 5 分步阅读 一键约师傅 百度师傅高质屏和好师傅,拯救你的碎屏机 百度经验:jingyan.baidu.com 现在常见的破解方法在下面的地址中已经详细附图说明了,但是这种破解方法,想 ...

  7. 汇总10.4版本ArcGIS Server与ArcMap 安装+SDE+注册数据源(非破解)

    文档参考了Server技术支持部各位前辈的总结文档. win10 + Server 10.4 +  ArcMap 10.4 + Oracle instant client (32位 和 64位) 安装 ...

  8. ArcGIS 10.3 安装及破解

    系统环境:win7 64位操作系统. 一.ArcGIS 10.3包简介 ArcGIS 10.3 下载包含 1.  ArcGIS for Desktop ArcGIS for Desktop简介: Ar ...

  9. arcgis 10.2 安装教程

    arcgis 10.2 安装教程(含下载地址)_百度经验 http://jingyan.baidu.com/article/fc07f98911b66912ffe5199b.html arcgis 1 ...

随机推荐

  1. jenkins+docker+git+harbor构建及代码回滚(未完)

    目录 一.部署 环境工作流程介绍 部署harbor 一.部署 前提环境说明 192.168.111.3 该机器为git本地仓库,及git远程仓库(git用户创建),及Harbor镜像仓库 192.16 ...

  2. linux 的GUNB修复问题

    1.意外断电,kali linux 虚拟机没有正常关机的时候 , 突然断电之后重启电脑之后,kali linux 直接黑屏了无法进入系统.如下面的界面 光标一直在闪烁. 这里可以使用 快捷键 同时按住 ...

  3. 写Django项目的开发工具或者编辑器

    pycharm是写django的最好的编辑器,优先使用pycharm.到官网下载pycharm →https://www.jetbrains.com/pycharm/download→ pycharm ...

  4. C++——Big Three(copy ctor、copy op=、dtor)

    Big Three C++ 中Big Three指的是copy ctor 和 copy op=  和  dtor m_data是个字符串指针.一般而言,处理字符串,都是使用指针,在需要存储字符的时候再 ...

  5. NodeJS开发博客(三) 数据的保存

    什么是cookie 存储在浏览器的一段字符串(最大5k) 跨域不共享 格式如 k1=v1 k2=v2 因此可以存储结构化数据 每次发送http请求,会将请求域的cookie一起发送给server se ...

  6. C++——构造和析构函数

    现在学习进入第三阶段,对c++要有更深入的学习,关于构造函数和析构函数这一块需要总结一下,来深刻理解这两个函数的意义. 什么是构造函数和析构函数呢呢?听着就很高大上,但是要从心里藐视它.就像自然万物有 ...

  7. SQL SERVER表压缩

    概述 SQL Server的主要性能取决于磁盘I/O效率,SQL Server .2008提供了数据压缩功能来提高磁盘I/O效率.表压缩意味着减小数据的磁盘占有量,所以压缩可以用在堆表.聚集索引的表. ...

  8. java中的深拷贝与浅拷贝

    Java中对象的创建 clone顾名思义就是复制, 在Java语言中, clone方法被对象调用,所以会复制对象.所谓的复制对象,首先要分配一个和源对象同样大小的空间,在这个空间中创建一个新的对象.那 ...

  9. 性能三 powerVR specfication

    2.Optimising Geometry Interleaving Attributes VBO Draw call size Triangle Size  32个像素/primitive    - ...

  10. LeetCode 339. Nested List Weight Sum

    原题链接在这里:https://leetcode.com/problems/nested-list-weight-sum/ 题目: Given a nested list of integers, r ...