Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/python-3.x/18.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python 3.x windows64中的tensorflow 1.8和python 3.6_Python 3.x_Windows_Tensorflow - Fatal编程技术网

Python 3.x windows64中的tensorflow 1.8和python 3.6

Python 3.x windows64中的tensorflow 1.8和python 3.6,python-3.x,windows,tensorflow,Python 3.x,Windows,Tensorflow,我正在尝试在我的windows 64位操作系统上安装带有python 3.6的tensorflow 1.8 cpu版本。有人知道tensorflow 1.8在windows 64位系统中是否支持python 3.6吗?这里的表格没有提到。我以前也遇到过同样的问题,tensorflow版本对于Python3.x来说似乎太新了,在windows上无法支持 以下是问题: Traceback (most recent call last): File "D:\python36\lib\site-pack

我正在尝试在我的windows 64位操作系统上安装带有python 3.6的tensorflow 1.8 cpu版本。有人知道tensorflow 1.8在windows 64位系统中是否支持python 3.6吗?这里的表格没有提到。我以前也遇到过同样的问题,tensorflow版本对于Python3.x来说似乎太新了,在windows上无法支持

以下是问题:

Traceback (most recent call last):
File "D:\python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 14, in swig_import_helper
    return importlib.import_module(mname)
  File "D:\python36\lib\importlib\__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 994, in _gcd_import
  File "<frozen importlib._bootstrap>", line 971, in _find_and_load
  File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 658, in _load_unlocked
  File "<frozen importlib._bootstrap>", line 571, in module_from_spec
  File "<frozen importlib._bootstrap_external>", line 922, in create_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
ImportError: DLL load failed: 动态链接库(DLL)初始化例程失败。

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "D:\python36\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 58, in <module>
    from tensorflow.python.pywrap_tensorflow_internal import *
  File "D:\python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 17, in <module>
    _pywrap_tensorflow_internal = swig_import_helper()
  File "D:\python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 16, in swig_import_helper
    return importlib.import_module('_pywrap_tensorflow_internal')
  File "D:\python36\lib\importlib\__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
ModuleNotFoundError: No module named '_pywrap_tensorflow_internal'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "D:\python36\lib\site-packages\tensorflow\__init__.py", line 24, in <module>
    from tensorflow.python import pywrap_tensorflow  # pylint: disable=unused-import
  File "D:\python36\lib\site-packages\tensorflow\python\__init__.py", line 49, in <module>
    from tensorflow.python import pywrap_tensorflow
  File "D:\python36\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 74, in <module>
    raise ImportError(msg)
ImportError: Traceback (most recent call last):
  File "D:\python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 14, in swig_import_helper
    return importlib.import_module(mname)
  File "D:\python36\lib\importlib\__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 994, in _gcd_import
  File "<frozen importlib._bootstrap>", line 971, in _find_and_load
  File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 658, in _load_unlocked
  File "<frozen importlib._bootstrap>", line 571, in module_from_spec
  File "<frozen importlib._bootstrap_external>", line 922, in create_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
ImportError: DLL load failed: 动态链接库(DLL)初始化例程失败。

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "D:\python36\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 58, in <module>
    from tensorflow.python.pywrap_tensorflow_internal import *
  File "D:\python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 17, in <module>
    _pywrap_tensorflow_internal = swig_import_helper()
  File "D:\python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 16, in swig_import_helper
    return importlib.import_module('_pywrap_tensorflow_internal')
  File "D:\python36\lib\importlib\__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
ModuleNotFoundError: No module named '_pywrap_tensorflow_internal'


Failed to load the native TensorFlow runtime.

See https://www.tensorflow.org/install/install_sources#common_installation_problems

for some common reasons and solutions.  Include the entire stack trace
above this error message when asking for help. 
回溯(最近一次呼叫最后一次):
swig\u import\u helper中的文件“D:\python36\lib\site packages\tensorflow\python\pywrap\u tensorflow\u internal.py”,第14行
返回导入lib.import\u模块(mname)
文件“D:\python36\lib\importlib\\uuuuu init\uuuuuu.py”,第126行,在导入模块中
return _bootstrap._gcd_import(名称[级别:],包,级别)
文件“”,第994行,在_gcd_导入中
文件“”,第971行,在_find_和_load中
文件“”,第955行,在“查找”和“加载”中解锁
文件“”,第658行,在加载时未锁定
文件“”,第571行,在规范的模块中
文件“”,第922行,在“创建”模块中
文件“”,第219行,在“调用”中,删除了“帧”
导入错误:DLL加载失败:动态链接库(DLL)初始化例程失败。
在处理上述异常期间,发生了另一个异常:
回溯(最近一次呼叫最后一次):
文件“D:\python36\lib\site packages\tensorflow\python\pywrap\u tensorflow.py”,第58行,在
从tensorflow.python.pywrap\u tensorflow\u内部导入*
文件“D:\python36\lib\site packages\tensorflow\python\pywrap\u tensorflow\u internal.py”,第17行,在
_pywrap\u tensorflow\u internal=swig\u import\u helper()
swig\u import\u helper中的文件“D:\python36\lib\site packages\tensorflow\python\pywrap\u tensorflow\u internal.py”,第16行
返回importlib.import\u模块(“pywrap\u tensorflow\u internal”)
文件“D:\python36\lib\importlib\\uuuuu init\uuuuuu.py”,第126行,在导入模块中
return _bootstrap._gcd_import(名称[级别:],包,级别)
ModuleNotFoundError:没有名为“\u pywrap\u tensorflow\u internal”的模块
在处理上述异常期间,发生了另一个异常:
回溯(最近一次呼叫最后一次):
文件“”,第1行,在
文件“D:\python36\lib\site packages\tensorflow\\uuuuu init\uuuuuu.py”,第24行,在
从tensorflow.python导入pywrapu tensorflow 35; pylint:disable=未使用的导入
文件“D:\python36\lib\site packages\tensorflow\python\\uuuu init\uuuu.py”,第49行,在
从tensorflow.python导入pywrap\u tensorflow
文件“D:\python36\lib\site packages\tensorflow\python\pywrap\u tensorflow.py”,第74行,在
提高效率(msg)
ImportError:回溯(最近一次呼叫上次):
swig\u import\u helper中的文件“D:\python36\lib\site packages\tensorflow\python\pywrap\u tensorflow\u internal.py”,第14行
返回导入lib.import\u模块(mname)
文件“D:\python36\lib\importlib\\uuuuu init\uuuuuu.py”,第126行,在导入模块中
return _bootstrap._gcd_import(名称[级别:],包,级别)
文件“”,第994行,在_gcd_导入中
文件“”,第971行,在_find_和_load中
文件“”,第955行,在“查找”和“加载”中解锁
文件“”,第658行,在加载时未锁定
文件“”,第571行,在规范的模块中
文件“”,第922行,在“创建”模块中
文件“”,第219行,在“调用”中,删除了“帧”
导入错误:DLL加载失败:动态链接库(DLL)初始化例程失败。
在处理上述异常期间,发生了另一个异常:
回溯(最近一次呼叫最后一次):
文件“D:\python36\lib\site packages\tensorflow\python\pywrap\u tensorflow.py”,第58行,在
从tensorflow.python.pywrap\u tensorflow\u内部导入*
文件“D:\python36\lib\site packages\tensorflow\python\pywrap\u tensorflow\u internal.py”,第17行,在
_pywrap\u tensorflow\u internal=swig\u import\u helper()
swig\u import\u helper中的文件“D:\python36\lib\site packages\tensorflow\python\pywrap\u tensorflow\u internal.py”,第16行
返回importlib.import\u模块(“pywrap\u tensorflow\u internal”)
文件“D:\python36\lib\importlib\\uuuuu init\uuuuuu.py”,第126行,在导入模块中
return _bootstrap._gcd_import(名称[级别:],包,级别)
ModuleNotFoundError:没有名为“\u pywrap\u tensorflow\u internal”的模块
未能加载本机TensorFlow运行时。
看见https://www.tensorflow.org/install/install_sources#common_installation_problems
因为一些常见的原因和解决方案。包括整个堆栈跟踪
以上是请求帮助时的错误消息。

悲剧。事实证明,我的电脑配备了Intel(R)Celeron(R)cpu N2940,不支持AVX指令。TF版本>=1.6将需要AVX。就这样