0
I have a Python project that uses Pyqt5 and when I run the executable through pyinstaller with the command:
pyinstaller --noconsole --onefile --windowed main.py
is generated the executable where I need to enter the terminal and type ./main. Why the Pyqt5 console appears if I set the parameter --noconsole
and why I need to use the terminal?
The flag
--noconsole
just instructs the process not to create a console window when launching the application, but does not prevent other consoles from being created.– Augusto Vasques
it is possible not to let any type of console open?
– Iniciante
If any process in your program displays consoles against your will you have to check the documentation of that specific process to know if this behavior is configurable. If not configurable you have nothing to do, or accept or change the component.
– Augusto Vasques