failed to execute script pyi rth certifi python 3.8 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