The following error may occur related to tensorflow.
ImportError: DLL load failed:The specified module cannot be found.
If you show it from the front a little more, the following error.
ImportError: Traceback (most recent call last):
File "C:\Users\XYZZZ\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 64, in <module>
from tensorflow.python._pywrap_tensorflow_internal import *
ImportError: DLL load failed:The specified module cannot be found.
The coping method is shown.
The version of tensorflow when an error occurs is as follows.
tensorflow 2.3.0
It's not an individual issue, so it's not directly related, but the error was When the following github code is executed (XLNET related). https://github.com/zihangdai/xlnet
(I empirically felt that it was a problem with the version of tensorflow ...)
I made the version of tensorflow smaller than 2 with the following command.
python -m pip install "tensorflow<2.0.0"
With the above command, the version of tensorflow is
tensorflow 1.15.3
Became.
Looking at the PYPI below, https://pypi.org/project/tensorflow/#history Versions smaller than 2.0.0 are 1.15.3, so this is usually the case.
(Quote: PYPI URL screen above)
⇒ ** The error disappeared safely. ** **
If you have any comments, please. : candy:
Recommended Posts