Python打包exe 以及压缩大小方法
https://www.cnblogs.com/strides/p/16422602.html
检查 PyInstaller 设置:
如果你使用 PyInstaller 来打包你的 Python 应用程序,确保 matplotlib 包含在打包文件中。可以在 PyInstaller 的配置文件中明确指定 matplotlib 模块:
pyinstaller --onefile --hidden-import=matplotlib cifPyDemoMain.py