Zend certified PHP/Magento developer

Why does pyinstaller executable app closes instantly?

I have created pyton executable but as soon as i click the .exe file the app closes. Here is the pyinstaller executable creation log]

LOG