Make python 3.6 executable in Windows

It is noted that for current version of pyinstaller, python 3.6 is not supported, however, support can be added by the installation of the developer version.

Solution: (Install the developer version of pyinstaller)

Clone from the official repo


To generate the desired .exe (add –onefile to generate standalone exe)


The target.exe generated will be located at

Before the discovery of the latest develop version of pyinstaller, I have tried both py2exe and cx_freeze, but to no avail.


Build script for cx_freeze (


Build the .exe by