场景: python 3.7.3(conda) pyinstaller 3.6 打包完成,运行exe错误截图: 解决方案: 打包命令中加入参数:–hidden-import=pkg_resources.py2_warn