Answer the question
In order to leave comments, you need to log in
What is the correct way to convert python to exe?
Hey!
Help me figure out how to create exe from Python2.7 files in Ubuntu (x64) (or at least somehow).
I'm trying to build a test project from two files (a simple check of user information using api using PySide). To build, I found pyinstaller and the command for it:
pyinstaller -D -F -n main -c main.py
Answer the question
In order to leave comments, you need to log in
Collect from under Windows through py2exe. I have not tried from under Linux, but under Windows, if you collect from under x64, then the exe turns out to be x64 and does not go to x86. I admit that from under Linux, he could also assemble for the current OS.
It is impossible to build an .exe file from under Linux, for this you need to use wine.
https://github.com/pyinstaller/pyinstaller/wiki/FA...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question