ArcGIS 10.5 tensorflow安装日记
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
- go to fo40225's Github Repo tensorflow-windows-wheel
- find a tensorflow whl version and download
- 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 windowsLatest commit a7fffdfon 23 Mar
Type
Name
Latest commit message
Commit time
a year ago
a year ago
a year ago
6 months ago
7 months ago
7 months ago
2 months ago
a year ago
a year ago
a year ago
a year ago
a year ago
a year ago
11 months ago
11 months ago
9 months ago
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安装日记的更多相关文章
- arcgis 10.3中文版安装教程、配置及常见问题(百度的有些错误)
参考的: 1.http://wenku.baidu.com/link?url=W-wo_lEMvzHxF19w91X7H0WDjyCQ16DjGu4ViaZ4-eVPr0NTU-LrZTPK1oyzT ...
- 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,如图: ...
- ArcGIS 10.1系列产品 升级安装至 ArcGIS 10.2
概要 分享ArcGIS10.1系列产品(包括desktop.engine.server)升级到ArcGIS10.2的过程,并提供安装ArcGIS10.2安装的详细文档下载链接和crack需要的文件: ...
- ArcGIS 10.2安装及卸载教程
卸载 在控制面板中找到程序->卸载程序 找到ArcGIS的相关软件 这里以ArcGIS 10.2 Destop为例,选中,然后点击卸载,会出现如下界面 选择Remove,然后根据提示进行操作,即 ...
- ArcGIS Server开发教程系列(1) Arcgis server 10.1 的安装
本系列所使用的软件版本如下: Windows 7 X64 / Windows server 2008 X64 Arcgis for Desktop 10.1 Arcgis 10.1 for serve ...
- ArcGIS 10与ArcEngine 10安装及破解
1 2 3 4 5 分步阅读 一键约师傅 百度师傅高质屏和好师傅,拯救你的碎屏机 百度经验:jingyan.baidu.com 现在常见的破解方法在下面的地址中已经详细附图说明了,但是这种破解方法,想 ...
- 汇总10.4版本ArcGIS Server与ArcMap 安装+SDE+注册数据源(非破解)
文档参考了Server技术支持部各位前辈的总结文档. win10 + Server 10.4 + ArcMap 10.4 + Oracle instant client (32位 和 64位) 安装 ...
- ArcGIS 10.3 安装及破解
系统环境:win7 64位操作系统. 一.ArcGIS 10.3包简介 ArcGIS 10.3 下载包含 1. ArcGIS for Desktop ArcGIS for Desktop简介: Ar ...
- arcgis 10.2 安装教程
arcgis 10.2 安装教程(含下载地址)_百度经验 http://jingyan.baidu.com/article/fc07f98911b66912ffe5199b.html arcgis 1 ...
随机推荐
- IAR 为 STM32新建工程模板(最详细)
今天给小伙伴分享一篇给stm32新建工程模版 1.首先打开IAR,就是这个样子 2.再建一个目录文件夹 3.建立一个工作空间,以及建好工作空间如右图所示 4.接下来建立工程,Project------ ...
- php中long2ip和2iplong
<?php $string=ip2long("127.0.0.1"); $ip=long2ip($string); echo $string; echo "< ...
- sql网址
w3school版 https://www.w3school.com.cn/sql/index.asp 菜鸟教程版 https://www.runoob.com/sql/sql-tutorial.ht ...
- VISION控制器标定及网络分析工具
VISION 标定和数据采集软件是一个强大的集成工具包,各个工具包可以无缝组合在一起,提供集成的可定制的应用程序,从而能够实现完整的标定和数据分析功能,包括从电子控制单元及外部源收集数据,测量输入和输 ...
- 安全学习概览——恶意软件分析、web渗透、漏洞利用和挖掘、内网渗透、IoT安全分析、区块链、黑灰产对抗
1 基础知识1.1 网络熟悉常见网络协议:https://www.ietf.org/standards/rfcs/1.2 操作系统1.3 编程2 恶意软件分析2.1 分类2.1.1 木马2.1.2 B ...
- Hdu 4312-Meeting point-2——哈夫曼距离与切比雪夫距离
题意 从 $n$ 个点中选择一点,使得其他点到其的切比雪夫距离最小($0 < n \leq 1e5$). 分析 定理:$(x_1, y_1)$ 与 $(x_2, y_2)$ 的曼哈顿距离等于 $ ...
- BZOJ2956: 模积和——整除分块
题意 求 $\sum_{i=1}^n \sum_{j=1}^m (n \ mod \ i)*(m \ mod \ j)$($i \neq j$),$n,m \leq 10^9$答案对 $1994041 ...
- React应用数据传递的方式
1. props属性 典型的React应用,数据通过props按照自上而下(父->子)的顺序传递数据. 2. Context传值 1. 应用场景 对于一些应用中全局性的属性(如UI主题.语言.登 ...
- sql server 常见约束
1.not null 非空约束 ①强制列不接受空值 ②例:创建表时,name varchar(6) not null, 2.unique 唯一性约束 ①约束唯一标识数据库表中的每条记录 ②unique ...
- myeclipse关掉references
去掉下面两个勾选: