My PyInstaller spec:
# -*- mode: python -*- block_cipher = None a = Analysis([\'test.py\'], pathex=[\'C:\\\\Users\\\\admin\\\\compile\'],
I just update my pyqt5 package to 5.10.1 and fix that.