问题
I am using PyQt5 to convert a local html file into pdf. The executable was working fine before the pyqt5 module was added. However, now I get a 'could not find QtWebEngineProcess.exe' error. I've read that the issue has been resolved in the later models but I am still experiencing this error. I have the latest version of anaconda and pyqt5.
I read a git thread that asked to use 5.9.2 version of pyqt but that did not solve the error either.
This is the command I'm using to create an executable:
pyinstaller --hidden-import=pkg_resources.py2_warn --onefile Q:\Ray\test.py
来源:https://stackoverflow.com/questions/63400962/could-not-find-qtwebengineprocess-exe-error-with-pyqt5-when-using-pyinstaller