更新时间:2023-12-05 08:43:28
您只需将 dist 文件夹中包含的文件 _pywrap_tensorflow_internal.pyd
重命名为 tensorflow.python 即可解决此问题._pywrap_tensorflow_internal.pyd
.我仍然需要弄清楚如何告诉 pyinstaller 正确"的模块名称.
You can resolve this issue by simply renaming the file _pywrap_tensorflow_internal.pyd
contained in the dist folder to tensorflow.python._pywrap_tensorflow_internal.pyd
.
I still have to figure out how to tell pyinstaller the "correct" module name.