Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

The application has failed to start because its side-by-side configuration is incorrect (Python/ Pyinstaller/ Tkinter)

I programmed a small application and compiled it using pyinstaller. However I can't run my compiled .exe. It shows this error:

enter image description here

Does anyone know how to fix it and create a working .exe?

pyinstaller --noconfirm --onedir --windowed --icon " "

like image 838
DARKSOUL Avatar asked Dec 09 '25 18:12

DARKSOUL


1 Answers

I had the exact same problem. For me it turned out to be a bug related to pyinstaller 4.7 and python 3.9.8. I uninstalled python 3.9.8 and installed 3.9.5 instead and it worked perfectly with pyinstaller -w, my exe file runs without a console window now, and without any errors.

like image 95
mariusghinea Avatar answered Dec 11 '25 14:12

mariusghinea