[Python, Tensorflow] How to fix DLL load failed, No module named _pywrap_tensorflow on Windows?

Опубликовано: 12 Сентябрь 2024
на канале: Thanh Diệp
60k
184

* Tensorflow support ONLY python 3.5.x & python 3.6.x
* The error message:
...
_call_with_frames_removed
ImportError: DLL load failed: A dynamic link library DLL initialization routine failed.
...

ModuleNotFoundError: No module named '_pywrap_tensorflow_internal'

During handling of the above exception, another exception occurred:
* Fix:
1. Install Python 3.5 or Python 3.6 (Tensorflow works ONLY on Py 3.5.x or 3.6.x
2. Install tensorflow 1.5 if tensorflow 1.10+ does not work!
* 00:48: the command is: pip install tensorflow==1.5

Thanks for watching!