a good python to exe compiler? [closed]
I am new to python and apart from the language itself, I am exploring various aspects of it. in terms of compilation into .exe (so that it can be deployed without installing python too)
I checked py2exe, new releases stopped a few years ago.
Then pyInstaller, seems to have stopped at python 2.7.
Can I get a list of all python to exe compilers? thanks
python
closed as not constructive by msw, Charles Menguy, Wooble, Laurence, Mark Jan 5 '13 at 10:57
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. If this question can be reworded to fit the rules in the help center, please edit the question.
add a comment |
I am new to python and apart from the language itself, I am exploring various aspects of it. in terms of compilation into .exe (so that it can be deployed without installing python too)
I checked py2exe, new releases stopped a few years ago.
Then pyInstaller, seems to have stopped at python 2.7.
Can I get a list of all python to exe compilers? thanks
python
closed as not constructive by msw, Charles Menguy, Wooble, Laurence, Mark Jan 5 '13 at 10:57
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. If this question can be reworded to fit the rules in the help center, please edit the question.
1
I had an impression that python cannot be compiled effectively due to its dynamic features. yes, there are tools that can produce an exe, but I thought that they rely on a runtime anyways.
– akonsu
Jan 4 '13 at 21:44
1
For reference:pyInstaller
is still under active development, and working on 3.x support, although I have no idea how far away it is. Andpy2exe
already supports 3.x (although you have to run it under 2.7). This is just a comment, not an answer—cx_freeze is probably what you want.
– abarnert
Jan 4 '13 at 22:02
@akonsu More or less true, the conclusion is either not true or not relevant. These tools include the runtime (as in, python.dll and all used modules) with the resulting executable, so it does not have dependencies (apart from the right version of the C runtime, I think, but a C executable needs that too).
– user395760
Jan 4 '13 at 22:04
@akonsu This term is at least ambiguous due to the widespread use in python (just search 'python compiler' on SO) to define several things (p.e there are pyc files as well as compiler module in the library -in py3k a built in compile function). IMHO the OP does not deserve those downvotes (similar posts with similar titles have been highly upvoted on SO).
– joaquin
Jan 4 '13 at 22:09
possible duplicate of making a python program executable
– Mark
Jan 5 '13 at 10:57
add a comment |
I am new to python and apart from the language itself, I am exploring various aspects of it. in terms of compilation into .exe (so that it can be deployed without installing python too)
I checked py2exe, new releases stopped a few years ago.
Then pyInstaller, seems to have stopped at python 2.7.
Can I get a list of all python to exe compilers? thanks
python
I am new to python and apart from the language itself, I am exploring various aspects of it. in terms of compilation into .exe (so that it can be deployed without installing python too)
I checked py2exe, new releases stopped a few years ago.
Then pyInstaller, seems to have stopped at python 2.7.
Can I get a list of all python to exe compilers? thanks
python
python
edited Jan 20 '17 at 21:51
Community♦
11
11
asked Jan 4 '13 at 21:37
user1866880user1866880
64551323
64551323
closed as not constructive by msw, Charles Menguy, Wooble, Laurence, Mark Jan 5 '13 at 10:57
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. If this question can be reworded to fit the rules in the help center, please edit the question.
closed as not constructive by msw, Charles Menguy, Wooble, Laurence, Mark Jan 5 '13 at 10:57
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. If this question can be reworded to fit the rules in the help center, please edit the question.
1
I had an impression that python cannot be compiled effectively due to its dynamic features. yes, there are tools that can produce an exe, but I thought that they rely on a runtime anyways.
– akonsu
Jan 4 '13 at 21:44
1
For reference:pyInstaller
is still under active development, and working on 3.x support, although I have no idea how far away it is. Andpy2exe
already supports 3.x (although you have to run it under 2.7). This is just a comment, not an answer—cx_freeze is probably what you want.
– abarnert
Jan 4 '13 at 22:02
@akonsu More or less true, the conclusion is either not true or not relevant. These tools include the runtime (as in, python.dll and all used modules) with the resulting executable, so it does not have dependencies (apart from the right version of the C runtime, I think, but a C executable needs that too).
– user395760
Jan 4 '13 at 22:04
@akonsu This term is at least ambiguous due to the widespread use in python (just search 'python compiler' on SO) to define several things (p.e there are pyc files as well as compiler module in the library -in py3k a built in compile function). IMHO the OP does not deserve those downvotes (similar posts with similar titles have been highly upvoted on SO).
– joaquin
Jan 4 '13 at 22:09
possible duplicate of making a python program executable
– Mark
Jan 5 '13 at 10:57
add a comment |
1
I had an impression that python cannot be compiled effectively due to its dynamic features. yes, there are tools that can produce an exe, but I thought that they rely on a runtime anyways.
– akonsu
Jan 4 '13 at 21:44
1
For reference:pyInstaller
is still under active development, and working on 3.x support, although I have no idea how far away it is. Andpy2exe
already supports 3.x (although you have to run it under 2.7). This is just a comment, not an answer—cx_freeze is probably what you want.
– abarnert
Jan 4 '13 at 22:02
@akonsu More or less true, the conclusion is either not true or not relevant. These tools include the runtime (as in, python.dll and all used modules) with the resulting executable, so it does not have dependencies (apart from the right version of the C runtime, I think, but a C executable needs that too).
– user395760
Jan 4 '13 at 22:04
@akonsu This term is at least ambiguous due to the widespread use in python (just search 'python compiler' on SO) to define several things (p.e there are pyc files as well as compiler module in the library -in py3k a built in compile function). IMHO the OP does not deserve those downvotes (similar posts with similar titles have been highly upvoted on SO).
– joaquin
Jan 4 '13 at 22:09
possible duplicate of making a python program executable
– Mark
Jan 5 '13 at 10:57
1
1
I had an impression that python cannot be compiled effectively due to its dynamic features. yes, there are tools that can produce an exe, but I thought that they rely on a runtime anyways.
– akonsu
Jan 4 '13 at 21:44
I had an impression that python cannot be compiled effectively due to its dynamic features. yes, there are tools that can produce an exe, but I thought that they rely on a runtime anyways.
– akonsu
Jan 4 '13 at 21:44
1
1
For reference:
pyInstaller
is still under active development, and working on 3.x support, although I have no idea how far away it is. And py2exe
already supports 3.x (although you have to run it under 2.7). This is just a comment, not an answer—cx_freeze is probably what you want.– abarnert
Jan 4 '13 at 22:02
For reference:
pyInstaller
is still under active development, and working on 3.x support, although I have no idea how far away it is. And py2exe
already supports 3.x (although you have to run it under 2.7). This is just a comment, not an answer—cx_freeze is probably what you want.– abarnert
Jan 4 '13 at 22:02
@akonsu More or less true, the conclusion is either not true or not relevant. These tools include the runtime (as in, python.dll and all used modules) with the resulting executable, so it does not have dependencies (apart from the right version of the C runtime, I think, but a C executable needs that too).
– user395760
Jan 4 '13 at 22:04
@akonsu More or less true, the conclusion is either not true or not relevant. These tools include the runtime (as in, python.dll and all used modules) with the resulting executable, so it does not have dependencies (apart from the right version of the C runtime, I think, but a C executable needs that too).
– user395760
Jan 4 '13 at 22:04
@akonsu This term is at least ambiguous due to the widespread use in python (just search 'python compiler' on SO) to define several things (p.e there are pyc files as well as compiler module in the library -in py3k a built in compile function). IMHO the OP does not deserve those downvotes (similar posts with similar titles have been highly upvoted on SO).
– joaquin
Jan 4 '13 at 22:09
@akonsu This term is at least ambiguous due to the widespread use in python (just search 'python compiler' on SO) to define several things (p.e there are pyc files as well as compiler module in the library -in py3k a built in compile function). IMHO the OP does not deserve those downvotes (similar posts with similar titles have been highly upvoted on SO).
– joaquin
Jan 4 '13 at 22:09
possible duplicate of making a python program executable
– Mark
Jan 5 '13 at 10:57
possible duplicate of making a python program executable
– Mark
Jan 5 '13 at 10:57
add a comment |
3 Answers
3
active
oldest
votes
cx_Freeze for Windows, Linux, and Mac OS X (Python 2.7, 3.x)
pyinstaller for Windows, Linux, and Mac OS X (Python 2.7, 3.4-3.7)
bbfreeze for Windows and Linux (Python 2.4-2.7)
py2exe for Windows (Python 2.6, 2.7)
py2exe for Windows (Python 3.3-3.5)
pytoexe for Windows (Python 2, 3)
Freeze for Linux and maybe Mac OS X (Python 2.x)
py2app for Mac OS X (Python 2.x)
1
bbfreeze
also doesn't work for 3.x, I believefreeze
doesn't either, andpy2exe
just barely does. Implying thatpyinstaller
is the only one on your list that doesn't work for 3.x is misleading—especially since the OP pretty strongly implied that he wants 3.x support. (And the only one of your answers that works fine for 3.x ispy2app
, which isn't going to help the OP on Windows.)
– abarnert
Jan 4 '13 at 22:05
pyinstaller now supports 3.3-3.5 :)
– meawoppl
Dec 22 '15 at 19:34
Successfully complied a Python 3.6 script using the "develop" branch of Pyinstaller (Github).
– tivnet
Sep 6 '17 at 14:06
1
http://pytoexe.com/ - online (havent tested)
– T.Todua
Apr 11 '18 at 19:41
deneskellner.local/sw/rapidexe - I mean, sorry for mentioning a product I've created, but it seems to solve the problem at hand. There's a Python example in the package.
– dkellner
Oct 13 '18 at 10:35
add a comment |
http://cx-freeze.sourceforge.net/
Works fine for Python 3.x.
Otherwise you can always make your script run at Python 2.x and use a program that can transform from that version.
Also look up:
Python 3.0.1 Executable Creator
Making a portable (exe) with Python 3.1?
Also What technologies exist to create stand alone executables for Python 3?.
– abarnert
Jan 4 '13 at 21:54
add a comment |
I've had luck using IronPython and the pyc.py tool. You can basically turn your python into .net bytecode and then to an exe.
yea, that is pretty much the way to go.
– Adrian Larsson
Jan 4 '13 at 21:47
4
The second link is dead. The new link is probably as follows: dbaportal.eu/2009/12/21/ironpython-how-to-compile-exe
– ComFreek
Dec 25 '14 at 20:04
add a comment |
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
cx_Freeze for Windows, Linux, and Mac OS X (Python 2.7, 3.x)
pyinstaller for Windows, Linux, and Mac OS X (Python 2.7, 3.4-3.7)
bbfreeze for Windows and Linux (Python 2.4-2.7)
py2exe for Windows (Python 2.6, 2.7)
py2exe for Windows (Python 3.3-3.5)
pytoexe for Windows (Python 2, 3)
Freeze for Linux and maybe Mac OS X (Python 2.x)
py2app for Mac OS X (Python 2.x)
1
bbfreeze
also doesn't work for 3.x, I believefreeze
doesn't either, andpy2exe
just barely does. Implying thatpyinstaller
is the only one on your list that doesn't work for 3.x is misleading—especially since the OP pretty strongly implied that he wants 3.x support. (And the only one of your answers that works fine for 3.x ispy2app
, which isn't going to help the OP on Windows.)
– abarnert
Jan 4 '13 at 22:05
pyinstaller now supports 3.3-3.5 :)
– meawoppl
Dec 22 '15 at 19:34
Successfully complied a Python 3.6 script using the "develop" branch of Pyinstaller (Github).
– tivnet
Sep 6 '17 at 14:06
1
http://pytoexe.com/ - online (havent tested)
– T.Todua
Apr 11 '18 at 19:41
deneskellner.local/sw/rapidexe - I mean, sorry for mentioning a product I've created, but it seems to solve the problem at hand. There's a Python example in the package.
– dkellner
Oct 13 '18 at 10:35
add a comment |
cx_Freeze for Windows, Linux, and Mac OS X (Python 2.7, 3.x)
pyinstaller for Windows, Linux, and Mac OS X (Python 2.7, 3.4-3.7)
bbfreeze for Windows and Linux (Python 2.4-2.7)
py2exe for Windows (Python 2.6, 2.7)
py2exe for Windows (Python 3.3-3.5)
pytoexe for Windows (Python 2, 3)
Freeze for Linux and maybe Mac OS X (Python 2.x)
py2app for Mac OS X (Python 2.x)
1
bbfreeze
also doesn't work for 3.x, I believefreeze
doesn't either, andpy2exe
just barely does. Implying thatpyinstaller
is the only one on your list that doesn't work for 3.x is misleading—especially since the OP pretty strongly implied that he wants 3.x support. (And the only one of your answers that works fine for 3.x ispy2app
, which isn't going to help the OP on Windows.)
– abarnert
Jan 4 '13 at 22:05
pyinstaller now supports 3.3-3.5 :)
– meawoppl
Dec 22 '15 at 19:34
Successfully complied a Python 3.6 script using the "develop" branch of Pyinstaller (Github).
– tivnet
Sep 6 '17 at 14:06
1
http://pytoexe.com/ - online (havent tested)
– T.Todua
Apr 11 '18 at 19:41
deneskellner.local/sw/rapidexe - I mean, sorry for mentioning a product I've created, but it seems to solve the problem at hand. There's a Python example in the package.
– dkellner
Oct 13 '18 at 10:35
add a comment |
cx_Freeze for Windows, Linux, and Mac OS X (Python 2.7, 3.x)
pyinstaller for Windows, Linux, and Mac OS X (Python 2.7, 3.4-3.7)
bbfreeze for Windows and Linux (Python 2.4-2.7)
py2exe for Windows (Python 2.6, 2.7)
py2exe for Windows (Python 3.3-3.5)
pytoexe for Windows (Python 2, 3)
Freeze for Linux and maybe Mac OS X (Python 2.x)
py2app for Mac OS X (Python 2.x)
cx_Freeze for Windows, Linux, and Mac OS X (Python 2.7, 3.x)
pyinstaller for Windows, Linux, and Mac OS X (Python 2.7, 3.4-3.7)
bbfreeze for Windows and Linux (Python 2.4-2.7)
py2exe for Windows (Python 2.6, 2.7)
py2exe for Windows (Python 3.3-3.5)
pytoexe for Windows (Python 2, 3)
Freeze for Linux and maybe Mac OS X (Python 2.x)
py2app for Mac OS X (Python 2.x)
edited Dec 29 '18 at 6:27
iBug
19.8k53764
19.8k53764
answered Jan 4 '13 at 21:42
Austin HenleyAustin Henley
3,85173263
3,85173263
1
bbfreeze
also doesn't work for 3.x, I believefreeze
doesn't either, andpy2exe
just barely does. Implying thatpyinstaller
is the only one on your list that doesn't work for 3.x is misleading—especially since the OP pretty strongly implied that he wants 3.x support. (And the only one of your answers that works fine for 3.x ispy2app
, which isn't going to help the OP on Windows.)
– abarnert
Jan 4 '13 at 22:05
pyinstaller now supports 3.3-3.5 :)
– meawoppl
Dec 22 '15 at 19:34
Successfully complied a Python 3.6 script using the "develop" branch of Pyinstaller (Github).
– tivnet
Sep 6 '17 at 14:06
1
http://pytoexe.com/ - online (havent tested)
– T.Todua
Apr 11 '18 at 19:41
deneskellner.local/sw/rapidexe - I mean, sorry for mentioning a product I've created, but it seems to solve the problem at hand. There's a Python example in the package.
– dkellner
Oct 13 '18 at 10:35
add a comment |
1
bbfreeze
also doesn't work for 3.x, I believefreeze
doesn't either, andpy2exe
just barely does. Implying thatpyinstaller
is the only one on your list that doesn't work for 3.x is misleading—especially since the OP pretty strongly implied that he wants 3.x support. (And the only one of your answers that works fine for 3.x ispy2app
, which isn't going to help the OP on Windows.)
– abarnert
Jan 4 '13 at 22:05
pyinstaller now supports 3.3-3.5 :)
– meawoppl
Dec 22 '15 at 19:34
Successfully complied a Python 3.6 script using the "develop" branch of Pyinstaller (Github).
– tivnet
Sep 6 '17 at 14:06
1
http://pytoexe.com/ - online (havent tested)
– T.Todua
Apr 11 '18 at 19:41
deneskellner.local/sw/rapidexe - I mean, sorry for mentioning a product I've created, but it seems to solve the problem at hand. There's a Python example in the package.
– dkellner
Oct 13 '18 at 10:35
1
1
bbfreeze
also doesn't work for 3.x, I believe freeze
doesn't either, and py2exe
just barely does. Implying that pyinstaller
is the only one on your list that doesn't work for 3.x is misleading—especially since the OP pretty strongly implied that he wants 3.x support. (And the only one of your answers that works fine for 3.x is py2app
, which isn't going to help the OP on Windows.)– abarnert
Jan 4 '13 at 22:05
bbfreeze
also doesn't work for 3.x, I believe freeze
doesn't either, and py2exe
just barely does. Implying that pyinstaller
is the only one on your list that doesn't work for 3.x is misleading—especially since the OP pretty strongly implied that he wants 3.x support. (And the only one of your answers that works fine for 3.x is py2app
, which isn't going to help the OP on Windows.)– abarnert
Jan 4 '13 at 22:05
pyinstaller now supports 3.3-3.5 :)
– meawoppl
Dec 22 '15 at 19:34
pyinstaller now supports 3.3-3.5 :)
– meawoppl
Dec 22 '15 at 19:34
Successfully complied a Python 3.6 script using the "develop" branch of Pyinstaller (Github).
– tivnet
Sep 6 '17 at 14:06
Successfully complied a Python 3.6 script using the "develop" branch of Pyinstaller (Github).
– tivnet
Sep 6 '17 at 14:06
1
1
http://pytoexe.com/ - online (havent tested)
– T.Todua
Apr 11 '18 at 19:41
http://pytoexe.com/ - online (havent tested)
– T.Todua
Apr 11 '18 at 19:41
deneskellner.local/sw/rapidexe - I mean, sorry for mentioning a product I've created, but it seems to solve the problem at hand. There's a Python example in the package.
– dkellner
Oct 13 '18 at 10:35
deneskellner.local/sw/rapidexe - I mean, sorry for mentioning a product I've created, but it seems to solve the problem at hand. There's a Python example in the package.
– dkellner
Oct 13 '18 at 10:35
add a comment |
http://cx-freeze.sourceforge.net/
Works fine for Python 3.x.
Otherwise you can always make your script run at Python 2.x and use a program that can transform from that version.
Also look up:
Python 3.0.1 Executable Creator
Making a portable (exe) with Python 3.1?
Also What technologies exist to create stand alone executables for Python 3?.
– abarnert
Jan 4 '13 at 21:54
add a comment |
http://cx-freeze.sourceforge.net/
Works fine for Python 3.x.
Otherwise you can always make your script run at Python 2.x and use a program that can transform from that version.
Also look up:
Python 3.0.1 Executable Creator
Making a portable (exe) with Python 3.1?
Also What technologies exist to create stand alone executables for Python 3?.
– abarnert
Jan 4 '13 at 21:54
add a comment |
http://cx-freeze.sourceforge.net/
Works fine for Python 3.x.
Otherwise you can always make your script run at Python 2.x and use a program that can transform from that version.
Also look up:
Python 3.0.1 Executable Creator
Making a portable (exe) with Python 3.1?
http://cx-freeze.sourceforge.net/
Works fine for Python 3.x.
Otherwise you can always make your script run at Python 2.x and use a program that can transform from that version.
Also look up:
Python 3.0.1 Executable Creator
Making a portable (exe) with Python 3.1?
edited May 23 '17 at 12:10
Community♦
11
11
answered Jan 4 '13 at 21:44
Adrian LarssonAdrian Larsson
1672211
1672211
Also What technologies exist to create stand alone executables for Python 3?.
– abarnert
Jan 4 '13 at 21:54
add a comment |
Also What technologies exist to create stand alone executables for Python 3?.
– abarnert
Jan 4 '13 at 21:54
Also What technologies exist to create stand alone executables for Python 3?.
– abarnert
Jan 4 '13 at 21:54
Also What technologies exist to create stand alone executables for Python 3?.
– abarnert
Jan 4 '13 at 21:54
add a comment |
I've had luck using IronPython and the pyc.py tool. You can basically turn your python into .net bytecode and then to an exe.
yea, that is pretty much the way to go.
– Adrian Larsson
Jan 4 '13 at 21:47
4
The second link is dead. The new link is probably as follows: dbaportal.eu/2009/12/21/ironpython-how-to-compile-exe
– ComFreek
Dec 25 '14 at 20:04
add a comment |
I've had luck using IronPython and the pyc.py tool. You can basically turn your python into .net bytecode and then to an exe.
yea, that is pretty much the way to go.
– Adrian Larsson
Jan 4 '13 at 21:47
4
The second link is dead. The new link is probably as follows: dbaportal.eu/2009/12/21/ironpython-how-to-compile-exe
– ComFreek
Dec 25 '14 at 20:04
add a comment |
I've had luck using IronPython and the pyc.py tool. You can basically turn your python into .net bytecode and then to an exe.
I've had luck using IronPython and the pyc.py tool. You can basically turn your python into .net bytecode and then to an exe.
answered Jan 4 '13 at 21:43
Paul RubelPaul Rubel
21.9k74673
21.9k74673
yea, that is pretty much the way to go.
– Adrian Larsson
Jan 4 '13 at 21:47
4
The second link is dead. The new link is probably as follows: dbaportal.eu/2009/12/21/ironpython-how-to-compile-exe
– ComFreek
Dec 25 '14 at 20:04
add a comment |
yea, that is pretty much the way to go.
– Adrian Larsson
Jan 4 '13 at 21:47
4
The second link is dead. The new link is probably as follows: dbaportal.eu/2009/12/21/ironpython-how-to-compile-exe
– ComFreek
Dec 25 '14 at 20:04
yea, that is pretty much the way to go.
– Adrian Larsson
Jan 4 '13 at 21:47
yea, that is pretty much the way to go.
– Adrian Larsson
Jan 4 '13 at 21:47
4
4
The second link is dead. The new link is probably as follows: dbaportal.eu/2009/12/21/ironpython-how-to-compile-exe
– ComFreek
Dec 25 '14 at 20:04
The second link is dead. The new link is probably as follows: dbaportal.eu/2009/12/21/ironpython-how-to-compile-exe
– ComFreek
Dec 25 '14 at 20:04
add a comment |
1
I had an impression that python cannot be compiled effectively due to its dynamic features. yes, there are tools that can produce an exe, but I thought that they rely on a runtime anyways.
– akonsu
Jan 4 '13 at 21:44
1
For reference:
pyInstaller
is still under active development, and working on 3.x support, although I have no idea how far away it is. Andpy2exe
already supports 3.x (although you have to run it under 2.7). This is just a comment, not an answer—cx_freeze is probably what you want.– abarnert
Jan 4 '13 at 22:02
@akonsu More or less true, the conclusion is either not true or not relevant. These tools include the runtime (as in, python.dll and all used modules) with the resulting executable, so it does not have dependencies (apart from the right version of the C runtime, I think, but a C executable needs that too).
– user395760
Jan 4 '13 at 22:04
@akonsu This term is at least ambiguous due to the widespread use in python (just search 'python compiler' on SO) to define several things (p.e there are pyc files as well as compiler module in the library -in py3k a built in compile function). IMHO the OP does not deserve those downvotes (similar posts with similar titles have been highly upvoted on SO).
– joaquin
Jan 4 '13 at 22:09
possible duplicate of making a python program executable
– Mark
Jan 5 '13 at 10:57