tensorflow: Tensorflow not supported on Windows + ARM CPUs
Issue type
Bug
Have you reproduced the bug with TensorFlow Nightly?
Yes
Source
source
TensorFlow version
2.18
Custom code
No
OS platform and distribution
Windows 11
Mobile device
No response
Python version
No response
Bazel version
No response
GCC/compiler version
No response
CUDA/cuDNN version
No response
GPU model and memory
No response
Current behavior?
I can’t import tensorflow
Standalone code to reproduce the issue
I can't import tensorflow. Installation is successful. I uninstalled and reinstalled
Relevant log output
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
File ~\anaconda3\Lib\site-packages\tensorflow\python\pywrap_tensorflow.py:70
69 try:
---> 70 from tensorflow.python._pywrap_tensorflow_internal import *
71 # This try catch logic is because there is no bazel equivalent for py_extension.
72 # Externally in opensource we must enable exceptions to load the shared object
73 # by exposing the PyInit symbols with pybind. This error will only be
74 # caught internally or if someone changes the name of the target _pywrap_tensorflow_internal.
75
76 # This logic is used in other internal projects using py_extension.
ImportError: DLL load failed while importing _pywrap_tensorflow_internal: A dynamic link library (DLL) initialization routine failed.
During handling of the above exception, another exception occurred:
ImportError Traceback (most recent call last)
Cell In[9], line 1
----> 1 import tensorflow as tf
File ~\anaconda3\Lib\site-packages\tensorflow\__init__.py:40
37 _os.environ.setdefault("ENABLE_RUNTIME_UPTIME_TELEMETRY", "1")
39 # Do not remove this line; See https://github.com/tensorflow/tensorflow/issues/42596
---> 40 from tensorflow.python import pywrap_tensorflow as _pywrap_tensorflow # pylint: disable=unused-import
41 from tensorflow.python.tools import module_util as _module_util
42 from tensorflow.python.util.lazy_loader import KerasLazyLoader as _KerasLazyLoader
File ~\anaconda3\Lib\site-packages\tensorflow\python\pywrap_tensorflow.py:85
83 sys.setdlopenflags(_default_dlopen_flags)
84 except ImportError:
---> 85 raise ImportError(
86 f'{traceback.format_exc()}'
87 f'\n\nFailed to load the native TensorFlow runtime.\n'
88 f'See https://www.tensorflow.org/install/errors '
89 f'for some common causes and solutions.\n'
90 f'If you need help, create an issue '
91 f'at https://github.com/tensorflow/tensorflow/issues '
92 f'and include the entire stack trace above this error message.')
ImportError: Traceback (most recent call last):
File "C:\Users\dhima\anaconda3\Lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 70, in <module>
from tensorflow.python._pywrap_tensorflow_internal import *
ImportError: DLL load failed while importing _pywrap_tensorflow_internal: A dynamic link library (DLL) initialization routine failed.
Failed to load the native TensorFlow runtime.
See https://www.tensorflow.org/install/errors for some common causes and solutions.
If you need help, create an issue at https://github.com/tensorflow/tensorflow/issues and include the entire stack trace above this error message.
About this issue
- Original URL
- State: open
- Created 2 years ago
- Reactions: 1
- Comments: 21
To my knowledge there are no current plans to support arm on windows natively. We do currently publish wheels for Linux and macOS arm64.