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. mycat使用--schema配置

    <?xml version="1.0"?> <!DOCTYPE schema SYSTEM "schema.dtd"> -<myc ...

  2. mysql案例分析

    工作中,需要设计一个数据库存储,项目的需求大致如下: (1)对于每个用户,需要存储一个或多个库, 每个库, 由一个用户标识来标识,这里成为clientFlag. (2) 对于每一个库,结构如下: 1) ...

  3. SQL SERVER-孤立用户

    --SQL SERVER用户管理分为两层,实例级的login和数据库级的用户 --login的SID和数据库用户的SID必须一样才行 --数据库搬迁login在重建时生成新的sid,与原来数据库的用户 ...

  4. c# List<Object>和List<实体>相互转化

    开发的过程中总会遇到各种转化的问题,现在我做的开发接口中就遇到需要将List<Object> 中的Object又含有List<实体>归为一个list中,就是要list中没有Li ...

  5. 现在记录几款好用的vscode的插件

    vscode 插件 Rainbow Brackets编码过程中,尤其在我们使用js进行函数式编程时,代码里会有很多的花括号,想要保证它们对称十分困难,所以就出现了上面小粉同学的尴尬局面,相信很多人都遇 ...

  6. [Git]checkout 指定版本

    Task:知道commit号,如何checkout 指定版本 1. 切换到master: git checkout master 2. 下载最新代码:  git pull 3. 下载head: git ...

  7. 部署Nginx网站服务实现访问状态统计以及访问控制功能

    原文:https://blog.51cto.com/11134648/2130987 Nginx专为性能优化而开发,最知名的优点是它的稳定性和低系统资源消耗,以及对HTTP并发连接的高处理能力,单个物 ...

  8. 2019-ACM-ICPC-南昌区网络赛-H. The Nth Item-特征根法求通项公式+二次剩余+欧拉降幂

    2019-ACM-ICPC-南昌区网络赛-H. The Nth Item-特征根法求通项公式+二次剩余+欧拉降幂 [Problem Description] ​ 已知\(f(n)=3\cdot f(n ...

  9. Robot Framework--用例、数据、流程分离例子

    如果想改变输入框的输入词,则需要不停的复制case,为了减少冗余,可以做一个简单的分层,把搜索流程剥离成一个关键字,然后再不同的case中调用这个关键字,然后传递不同的参数,以进行不同数据在同一流程下 ...

  10. Pthon操作Gitlab API----批量删除,创建,取消保护

    1.需求:大批量的应用上线后合并到Master,其他的分支develop/test/uat等需要同步最新代码的操作. 2.操作:可以通过传参 ,列表 的方式把每个项目的id值填入,才能对相关项目进行批 ...