I am using PyQt5 to convert a local html file into pdf. The executable was working fine before the pyqt5 module was added. 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, pyinstaller and pyqt5.
This is the command I'm using to create an executable:
pyinstaller --hidden-import=pkg_resources.py2_warn --onefile Q:\Ray\test.py