2020年12月22日星期二

How can I package my python program into an exportable executable?

I genuinely believe my computer is incapable of packaging my program. Given that I'm using Mac, I've tried pyinstaller and py2app and both of them have provided an endless stream of errors whenever I try to compile my code. For example, when using pyinstaller, the executable/.app file either opens a blank terminal window (same as simply opening terminal), it immediately closes a split second after run, or it opens a console/error log which displays many errors. I don't know if this is because of my computer, installations, or simply me not doing it right. All I'd like is for someone to provide a step-by-step guide on how to package my python program (test.py) into an exportable executable (to another computer that doesn't have python). Any help would be appreciated. I've been stuck on this for months, and I stopped doing python for a while because my project could not be sent to other computers.

https://stackoverflow.com/questions/65418425/how-can-i-package-my-python-program-into-an-exportable-executable December 23, 2020 at 10:53AM

没有评论:

发表评论