尝试使用以下命令将应用程序与pyinstaller捆绑: pyinstaller —onefile —debug all —icon=<icon_file> —name=name my_enter_point.pyfrom game_functions not found in PYZbullet not found in PYZ (我试过使用,但我得到了pygame.import
我用Python2编写的代码在从Python运行时工作得很好,但是在通过PyInstaller发送脚本并运行可执行文件之后,它会弹出: File "<string>", line 26, in <module>
File "/usr/local/lib/python2.7/dist-packages/PyInstaller/row=0, column=1, c
最近,我使用PyGame 1.9.3和Python3.4.4开发了几个项目,当我尝试用PyInstaller编译它们时,遇到了一个问题。missing module named 'PyInstaller.lib.macholib.compat' - imported by PyInstaller.lib.macholib.MachOStringIO - imported by six, PyInstaller.lib.modulegraph.util, PyI
我正在尝试使用pyinstaller创建一个独立的python应用程序(Tic-Tac-Toe)。我在命令提示符中编写了以下命令:
pyinstaller --添加数据的声音;snds“x_and_o.py”
pygame 1.9.6
Hello from the pygame community.下面是我的代码片段
使用pygame模块作为跨平台可执行文件打包python脚本的最佳方式是什么?我需要能够在我的Linux机器上编译。我试过使用PyInstaller,但是,当我运行编译后的可执行文件时,它显示找不到pygame模块。当我将它作为python脚本通过Wing IDE debug运行时,它工作得很好,所以我显然已经安装了pygame。但是,当我尝试在没有IDE调试的情况下运行时,它无法创建窗口。我如何打包我的游戏,让它在任何计算机上运行,Linux或Windows,甚至不需
好的,我正在尝试将我的python pygame游戏转换成一个.exe文件,这样我就可以将它发送给朋友,但是每次我尝试转换它时,都会创建.exe文件,但是我无法打开它,它不会标记任何错误,也不会有任何额外的文件我尝试过auto-py-to-exe和pyinstaller几乎所有可能的组合
它只使用pygame、Sys和random模块以及python of 。