使用pyinstaller打包exe闪退,怎么查看报错?
1. 打开cmd
2. cd到exe所在文件夹
cd C:UsersHelenDesktop新建文件夹dist
3. 输入 .***.exe
.pics.exe
4. 查看报错
ModuleNotFoundError: No module named 'pkg_resources.py2_warn' [10372] Failed to execute script pyi_rth_pkgres