Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I am facing this issue after installing it on Windows 7 32 Bit , AMD processor, python 3.5.2, TensorFlow 1.0.0 #12942

Closed
Shiv751 opened this issue Sep 10, 2017 · 2 comments · Fixed by #68437

Comments

@Shiv751
Copy link

Shiv751 commented Sep 10, 2017

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\Users\SEM>python
Python 3.5.2 (v3.5.2:4def2a2901a5, Jun 25 2016, 22:18:55) [MSC v.1900 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.

import tensorflow as tf
Traceback (most recent call last):
File "C:\Users\SEM\AppData\Local\Programs\Python\Python35\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 18, in swig_import_help
er
return importlib.import_module(mname)
File "C:\Users\SEM\AppData\Local\Programs\Python\Python35\lib\importlib_init_.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 986, in _gcd_import
File "", line 969, in _find_and_load
File "", line 958, in _find_and_load_unlocked
File "", line 666, in _load_unlocked
File "", line 577, in module_from_spec
File "", line 906, in create_module
File "", line 222, in _call_with_frames_removed
ImportError: DLL load failed: %1 is not a valid Win32 application.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Users\SEM\AppData\Local\Programs\Python\Python35\lib\site-packages\tensorflow\python_init_.py", line 66, in
from tensorflow.python import pywrap_tensorflow
File "C:\Users\SEM\AppData\Local\Programs\Python\Python35\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 21, in
_pywrap_tensorflow = swig_import_helper()
File "C:\Users\SEM\AppData\Local\Programs\Python\Python35\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 20, in swig_import_help
er
return importlib.import_module('pywrap_tensorflow')
File "C:\Users\SEM\AppData\Local\Programs\Python\Python35\lib\importlib_init
.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
ImportError: No module named '_pywrap_tensorflow'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "", line 1, in
File "C:\Users\SEM\AppData\Local\Programs\Python\Python35\lib\site-packages\tensorflow_init_.py", line 24, in
from tensorflow.python import *
File "C:\Users\SEM\AppData\Local\Programs\Python\Python35\lib\site-packages\tensorflow\python_init_.py", line 72, in
raise ImportError(msg)
ImportError: Traceback (most recent call last):
File "C:\Users\SEM\AppData\Local\Programs\Python\Python35\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 18, in swig_import_help
er
return importlib.import_module(mname)
File "C:\Users\SEM\AppData\Local\Programs\Python\Python35\lib\importlib_init_.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 986, in _gcd_import
File "", line 969, in _find_and_load
File "", line 958, in _find_and_load_unlocked
File "", line 666, in _load_unlocked
File "", line 577, in module_from_spec
File "", line 906, in create_module
File "", line 222, in _call_with_frames_removed
ImportError: DLL load failed: %1 is not a valid Win32 application.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Users\SEM\AppData\Local\Programs\Python\Python35\lib\site-packages\tensorflow\python_init_.py", line 66, in
from tensorflow.python import pywrap_tensorflow
File "C:\Users\SEM\AppData\Local\Programs\Python\Python35\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 21, in
_pywrap_tensorflow = swig_import_helper()
File "C:\Users\SEM\AppData\Local\Programs\Python\Python35\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 20, in swig_import_help
er
return importlib.import_module('pywrap_tensorflow')
File "C:\Users\SEM\AppData\Local\Programs\Python\Python35\lib\importlib_init
.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
ImportError: No module named '_pywrap_tensorflow'

Failed to load the native TensorFlow runtime.

See https://github.com/tensorflow/tensorflow/blob/master/tensorflow/g3doc/get_started/os_setup.md#import_error

for some common reasons and solutions. Include the entire stack trace
above this error message when asking for help.

@Shiv751 Shiv751 changed the title I am facing this issue after installing it on Windows 7 32 Bit , AMD processor, python 3.5.4, TensorFlow 1.0.0 I am facing this issue after installing it on Windows 7 32 Bit , AMD processor, python 3.5.2, TensorFlow 1.0.0 Sep 10, 2017
@caisq
Copy link
Contributor

caisq commented Sep 10, 2017

@Shiv751 , Windows 32-bit is not a platform supported by TensorFlow.

cc @gunan

@gunan
Copy link
Contributor

gunan commented Sep 11, 2017

Correct. TF out of the box strictly needs a 64 bit operating system & hardware on a desktop or laptop.
We are working on adding this information to our docs.

@gunan gunan closed this as completed Sep 11, 2017
copybara-service bot pushed a commit that referenced this issue May 22, 2024
Imported from GitHub PR openxla/xla#12942

Use the maximum absolute difference observed on 20 runs of these tests with different seed values.
Copybara import of the project:

--
c438b08ea7240c23ae98bc8dcf4ef45fa6d2e89c by Ilia Sergachev <isergachev@nvidia.com>:

[GPU] Fix cuDNN GEMM test tolerances.

Use the maximum absolute difference observed on 20 runs of these tests with different seed values.

Merging this change closes #12942

FUTURE_COPYBARA_INTEGRATE_REVIEW=openxla/xla#12942 from openxla:fix_test_cudnn c438b08ea7240c23ae98bc8dcf4ef45fa6d2e89c
PiperOrigin-RevId: 636188097
copybara-service bot pushed a commit that referenced this issue May 22, 2024
Imported from GitHub PR openxla/xla#12942

Use the maximum absolute difference observed on 20 runs of these tests with different seed values.
Copybara import of the project:

--
c438b08ea7240c23ae98bc8dcf4ef45fa6d2e89c by Ilia Sergachev <isergachev@nvidia.com>:

[GPU] Fix cuDNN GEMM test tolerances.

Use the maximum absolute difference observed on 20 runs of these tests with different seed values.

Merging this change closes #12942

FUTURE_COPYBARA_INTEGRATE_REVIEW=openxla/xla#12942 from openxla:fix_test_cudnn c438b08ea7240c23ae98bc8dcf4ef45fa6d2e89c
PiperOrigin-RevId: 636188097
copybara-service bot pushed a commit that referenced this issue May 22, 2024
Imported from GitHub PR openxla/xla#12942

Use the maximum absolute difference observed on 20 runs of these tests with different seed values.
Copybara import of the project:

--
c438b08ea7240c23ae98bc8dcf4ef45fa6d2e89c by Ilia Sergachev <isergachev@nvidia.com>:

[GPU] Fix cuDNN GEMM test tolerances.

Use the maximum absolute difference observed on 20 runs of these tests with different seed values.

Merging this change closes #12942

PiperOrigin-RevId: 636213649
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants