reference resources: https://stackoverflow.com/questions/37815371/pyinstaller-failed-to-execute-script-pyi-rth-pkgres-and-missing-packages
First, uninstall pyinstaller, then download and install it from GitHub
pip uninstall pyinstaller
pip install https://github.com/pyinstaller/pyinstaller/archive/develop.zip
Bloggers solve the problem through the above methods
Similar Posts:
- [Solved] Python Run Error: line 192, in _run_module_as_main return _run_code(code, main_globals, None
- Pyinstaller Package Error: ImportError: OpenCV loader: missing configuration file: [‘config.py‘]
- pyinstaller WARNING: lib not found: api-ms-win-crt-math-l1-1-0.dll dependency
- [Solved] ImportError: ERROR: recursion is detected during loading of “cv2” binary extensions. Check OpenCV installation.
- Pyinstaller Package Error: failed to execute script main [How to Solve]
- [Solved] Pyinstaller package Error: AttributeError: ‘str’ object has no attribute ‘decode’
- Pyinstall package py script warning: lib not found and other related issues
- [Mac] How to Solve Android Studio error: Unable to access Android SDK add-on list
- Anaconda makes. Ipynb file into. EXE file
- Pyinstaller publishes exe and pops up failed to execute script main