如何解决:DLL加载失败:找不到文件tensorflow.python.\u pywrap\u tensorflow\u internal

2024-06-14 15:04:06 发布

您现在位置:Python中文网/ 问答频道 /正文

我将TensorFlow升级为Windows10上的2.0.0(或更高版本)。但是当我在Jupyter笔记本上导入TensorFlow时,我得到了以下错误

ImportError   Traceback (most recent call last)
~\AppData\Roaming\Python\Python37\site-packages\tensorflow\python\pywrap_tensorflow.py in <module>
.


ImportError: Traceback (most recent call last):
  File "C:\Users\phess\AppData\Roaming\Python\Python37\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 could not be found.


Failed to load the native TensorFlow runtime.

See https://www.tensorflow.org/install/errors for some common reasons and solutions.  Include the entire stack trace
above this error message when asking for help.

还有很多其他与这个话题相关的帖子,但没有一篇是有帮助的


Tags: mostpackagestensorflowsitecallroamingappdatalast