I used kivy and python to write an app. it works well when I execute it. but after I put it in one file (pyinstalleenter image description herer --onefile (--windowed) main.py)