且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Windows 10 pyinstaller tensorflow 缺少模块

更新时间: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.