Could not find QtWebEngineProcess.exe Error with PyQt5 when using pyinstaller

两盒软妹~` 提交于 2020-08-20 12:07:13

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!