pdf2docx
pdf2docx copied to clipboard
”pyinstaller --onefile --windowed“ will cause error,I don't want to build a exe with console!
Description of the bug
pyinstaller --onefile --windowed demo.py
the error log is say:
everything is ok
why ----windowed cause error?I don't want to build a exe with console! please help me,thanks
How to reproduce the bug
demo.py : if directory: try: cv = Converter(directory_text_exe.get()) cv.convert(directory + '/output.docx') cv.close() except Exception as e: with open('example.txt', 'w') as file: file.write(f"{e}")
build cmd: pyinstaller --onefile --windowed demo.py
PyMuPDF==1.24.14 fonttools==4.55.0 py3.9 window10
pdf2docx version
No response
Operating system
No response
Python version
No response