tensorflow: TensorFlow DLL failed to load with newer version of TF
Issue type
Build/Install
Have you reproduced the bug with TensorFlow Nightly?
Yes
Source
source
TensorFlow version
tf 2.19.0
Custom code
Yes
OS platform and distribution
Windows 11 64-bit
Mobile device
No response
Python version
3.11
Bazel version
No response
GCC/compiler version
No response
CUDA/cuDNN version
No response
GPU model and memory
No response
Current behavior?
ImportError: Traceback (most recent call last): File “C:\Users\adity\AppData\Roaming\Python\Python311\site-packages\tensorflow\python\pywrap_tensorflow.py”, line 73, 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.
Standalone code to reproduce the issue
NA
Relevant log output
About this issue
- Original URL
- State: open
- Created 2 years ago
- Comments: 41 (7 by maintainers)
Actually I don’t know how to download them by
pip. May could not download them bypipHere you can try the two approaches(you just need choose one):About this problem, it’s actully caused by your
vcandvs2015-runtimeare too old when you are specially using anaconda follow these steps, and you could import it correctly.then you can import it.
here list my version of
vcandvs2015-runtime@Venkat6871 Thanks for replying! Tensorflow working fine day before failing. My device has 64-bit architecture. I got error while executing code - ImportError: Traceback (most recent call last): File “C:\Users\adity\AppData\Roaming\Python\Python311\site-packages\tensorflow\python\pywrap_tensorflow.py”, line 73, 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.
so I uninstall current tensorflow lib and install it again but error was still there, then I installed tensorflow version 2.16.2. it worked. when i install tensorfloe_hub it upgrade the tensrflow and got dependencies issue.
Hey! I would like to try to help
I run dlltracer got a log file. Find attached file below. I run it for version 2.19.0
log.txt