I tried to execute a try except command on the app to get log of the error but it still crash so I think it is a problem of PATH ? library ? Why does it work with pyinstalle