After doing pyinstaller --noconsole , phantomjs.exe console appear when running the program
After doing pyinstaller --noconsole , phantomjs.exe console appear when running the program
I am doing a final project in a python course and I have done a program using phantomjs that run like a background process in windows.
Therefore, after creating my project, I used pyinstaller --noconsole --onefile to my file in order to hide his console but even tough I did it, I still get a console popup - phantomjs.exe
like this
Someone know how to remove the console without impairing the proper functioning of the program.
Thanks alot,
Omer
Note: in my spec file in the exe option there is debug = False!
1 Answer
1
I fixed it by editing the service.py file in selenium folder (C:Python34Libsite-packagesseleniumwebdrivercommonservice.py)
Just look at here: pyinstaller one file --no-console does not work "Fatal Error"
By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.
Comments
Post a Comment