pyinstaller在windows下打包,在linux上执行的办法

python的pyinstaller在windows上目前只能打包出exe,也没有找到相关教程。非常感谢

PyInstaller Manual — PyInstaller 5.5 documentation
https://pyinstaller.org/en/stable/

根據說明書:
PyInstaller is tested against Windows, MacOS X, and Linux.
However, it is not a cross-compiler;

to make a Windows app you run PyInstaller on Windows,
and to make a Linux app you run it on Linux, etc.

要在 linux 執行就需要在 linux 執行 pyinstaller 製作成 app.

https://blog.csdn.net/weixin_39633891/article/details/110969762