pyinstaller failed to execute script pyi rth pkgres

pip uninstall pyinstaller
pip install https://github.com/pyinstaller/pyinstaller/archive/develop.zip