Failed to execute script pyi_rth_pkgres python 3.7 code example
Example: pyinstaller failed to execute script pyi_rth_pkgres
pyinstaller --hidden-import=pkg_resources.py2_warn --onefile example.py
pyinstaller --hidden-import=pkg_resources.py2_warn --onefile example.py