Problem with python executable generated by pyinstaller

0

I made simple python software with graphical interface. I did the build with pyinstaller and when I try to open the generated executable, the windows command prompt is also opened every time. I have already been instructed to change the file extension that contains the main from ". Py" to ".pyw", but it did not resolve. Would anyone know how to help?

    
asked by anonymous 03.01.2018 / 14:20

1 answer

1

I had a very similar problem and I managed to resolve it with the command:

pyinstaller --noconsole exec_main.py 

Check if it helps.

Reference: Windows and Mac OS X specific options

    
03.01.2018 / 15:18