[英]How can I cross compile a python script into an executable using Mac?
On a Mac I haven't been able to cross compile my python code into a stand-alone executable.在 Mac 上,我无法将 python 代码交叉编译成独立的可执行文件。 Using Pyinstaller or Py2exe only compiles it into a file thats supported by Mac, I think this is because cross compiling is not supported, but I saw a post saying you can use Wine, Im not sure how to go about doing it since I'm pretty new to python.
使用 Pyinstaller 或 Py2exe 只会将它编译成 Mac 支持的文件,我认为这是因为不支持交叉编译,但我看到一个帖子说你可以使用 Wine,我不确定如何 go 关于这样做,因为我python 相当新。
Hello, check out this options:您好,请查看以下选项:
Single executable (all platforms)单个可执行文件(所有平台)
PyQt
) PyQt
一起使用) Single executable (Windows)单个可执行文件 (Windows)
Single executable (Linux)单个可执行文件 (Linux)
Single executable (Mac)单个可执行文件 (Mac)
Hope it help.希望它有所帮助。 Good luck.
祝你好运。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.