Reputation: 21
Im desperately trying to compile my python 3.6 script to an exe or any executable file that i can share to other without showing my source code. I have try cx_freeze, py2exe, pyinstaller etc etc but non of them support python3.6.
So, any alternative out there or i can simply install python 2.7/3.5 (in order to use any compiler mention above)? will that work?
Upvotes: 1
Views: 1292
Reputation: 286
PyInstaller has development version that currently works with python 3.6, however the installation isn't as simple as with pip (how it should work at the end). You will most likely be able to just download python 3.5 and use any of the tools on it.
Installing PyInstaller from a source code (on windows):
Download developer version from the web --> http://www.pyinstaller.org/downloads.html Unpack it - both zip and tar are archives Open command line and get into the main directory, named something like this: "pyinstaller-pyinstaller-89dc7eb"
next run this command in the command line:
python setup.py install
that should run and when it finishes, just enter
pyinstaller
and if you don't get any errors you should be all good to go
Upvotes: 1