I wish this help you Case is closed for me, as I downgraded to stable 3.5.2. Probably some inconsistency in that alpha release, which caused this. I just wanted to write a simple GUI Windows program, so I will not investigate further.
it should still fix some issue It appears that Python 3.6 is not yet supported by PyInstaller: https://github.com/pyinstaller/pyinstaller/issues/2286 Generally, this would have resulted in an error when compiling, but I imagine that if you have both versions of Python installed on your computer, it is finding 2.7 somehow and packaging that up, which results in your exe not running properly (mismatch between your python 3.6 code and the python 2.7 dll)
Working process of converting python programs to executables in windows using pyinstaller
wish help you to fix your issue Pyinstaller will compile the Python file and all necessary libraries/modules into the exe file. You can then run it on another computer without the need to install any other programms. When the user launches your program, it is the bootloader that runs. The bootloader creates a temporary Python environment such that the Python interpreter will find all imported modules and libraries in the myscript folder. What this means is that when you run the executable, a command style window will start, in which the python code will run. This window will also show all error messages, print statements, etc.
Exe created with Pyinstaller in windows 7 is not working in xp and linux