Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/python/298.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/security/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python 带有Kivy:ImportError的Pyinstaller:没有名为garden.graph的模块_Python_Kivy_Exe_Pyinstaller_Importerror - Fatal编程技术网

Python 带有Kivy:ImportError的Pyinstaller:没有名为garden.graph的模块

Python 带有Kivy:ImportError的Pyinstaller:没有名为garden.graph的模块,python,kivy,exe,pyinstaller,importerror,Python,Kivy,Exe,Pyinstaller,Importerror,从Kivy应用程序中使用PyInstaller创建.exe文件时遇到问题 我使用花园图在我的应用程序中显示一些绘图 我在Linux下开发,但我必须为Windows部署我的应用程序 我确实在Win下安装了所有需要的依赖项,我可以毫无问题地执行我的应用程序 当我试图编译它以创建一个可执行文件时,它成功了,但当我启动我的.exe时,我得到了以下错误: ImportError: No module named garden.graph Failed to execute script myapp 我尝

从Kivy应用程序中使用PyInstaller创建.exe文件时遇到问题

我使用花园图在我的应用程序中显示一些绘图

我在Linux下开发,但我必须为Windows部署我的应用程序

我确实在Win下安装了所有需要的依赖项,我可以毫无问题地执行我的应用程序

当我试图编译它以创建一个可执行文件时,它成功了,但当我启动我的.exe时,我得到了以下错误:

ImportError: No module named garden.graph
Failed to execute script myapp
我尝试了--onefile,-onefolder,尝试了添加带有hiddenimports的模块,添加了模块路径。。。没有运气

有什么想法吗