tensorflow安装成功,import tensorflow时出错。
ImportError: DLL load failed: 内存位置访问无效。
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:\Users\Administrator\AppData\Local\Programs\Python\Python35\lib\site-p
ackages\tensorflow\python\__init__.py", line 66, in <module>
from tensorflow.python import pywrap_tensorflow
File "D:\Users\Administrator\AppData\Local\Programs\Python\Python35\lib\site-p
ackages\tensorflow\python\pywrap_tensorflow.py", line 21, in <module>
_pywrap_tensorflow = swig_import_helper()
File "D:\Users\Administrator\AppData\Local\Programs\Python\Python35\lib\site-p
ackages\tensorflow\python\pywrap_tensorflow.py", line 20, in swig_import_helper
return importlib.import_module('_pywrap_tensorflow')
File "D:\Users\Administrator\AppData\Local\Programs\Python\Python35\lib\import
lib\__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
ImportError: No module named '_pywrap_tensorflow'
解决方法为:http://stackoverflow.com/questions/42011070/on-windows-running-import-tensorflow-generates-no-module-named-pywrap-tenso
或者http://www.cnblogs.com/maobuji/p/6933165.html