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 ...
随机推荐
- ubuntu 使用MySQL Workbench 连接远程云服务器mysql
前提:我的是腾讯云的服务器,所以需要在安全组开发端口. 配置安全组 1.创建新用户 一般为了安全性,我们不直接使用root用户,而是选择创建一个新用户. 在服务器中,输入 mysql -u root ...
- 动态URL是什么?动态URL有什么特点?
动态URL是什么动态URL就是动态页面,动态链接,即指在URL中出现“?”这样的参数符号,并以aspx.asp.jsp.php.perl.cgi为后缀的url. 动态URL有什么特点1.在建设反向链接 ...
- apache Directory Studio 简易使用
apache Directory Studio 简易使用 本文首发:https://www.somata.work/2019/apacheDirectoryStudioSimpleUse.html 以 ...
- Python语言程序设计:Lab4
Programming 1.Analysing a Text File Look at the file xian_info.txt which is like this: Xi'an China 8 ...
- 手写代码之写斐波那契数列-传入key值求对应的value
public class Testany { public static void main(String[] args) { int value = number(10); System.out.p ...
- 运输层6——TCP可靠传输的实现
目录 1. 以字节为单位的滑动窗口 2. 超时重传时间的选择 写在前面:本文章是针对<计算机网络第七版>的学习笔记 运输层1--运输层协议概述 运输层2--用户数据报协议UDP 运输层3- ...
- MySQL远程连接错误解决
远程连接服务器的MySQL数据库,错误代码是1130,是由于无法给远程连接的用户权限的问题 解决方法: 本机登陆mysql后,将mysql数据库中的user表中的host项,从localhost改为% ...
- Codeforces Round #609 (Div. 2) C. Long Beautiful Integer
链接: https://codeforces.com/contest/1269/problem/C 题意: You are given an integer x of n digits a1,a2,- ...
- MySQL远程连接不上的解决方法
这篇文章主要为大家详细介绍了MySQL远程连接不上的解决方法,具有一定的参考价值,感兴趣的小伙伴们可以参考一下 之前遇到过MySQL本地可以连接但是远程连不上的问题,没有记录,今天在云上新申请的服 ...
- 九.配置SMB共享(Samba共享)
• Samba 软件项目 – 用途:为客户机提供共享使用的文件夹 – 协议:SMB(TCP 139).CIFS(TCP 445) • 所需软件包:samba • 系统服务:smb 管理共享账号 ...