今天打包了程序 出现 “failed to execute pyi_rth_pkgres”问题
网上查看后 都是发现说要 卸载 再去
先卸载pyinstaller然后在从GitHub上下载安装
pip uninstall pyinstaller
pip install https://github.com/pyinstaller/pyinstaller/archive/develop.zip
我试了下不行 后来 由于电脑是内网 要重新安装只能去下载安装包
https://www.lfd.uci.edu/~gohlke/pythonlibs/#wordcloud
下载了
pyinstaller‑4.3‑py3‑none‑any.whl
发现安装不成功
说要 重新安装
pyinstaller_hooks_contrib‑2021.1‑py3‑none‑any.whl
2个都重新安装后 可以正常运行了