ImportError [6472] Failed to execute script python 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