环境:
Python 版本:3.7.3
PythonInstaller 版本:3.4
官方文档:https://pyinstaller.readthedocs.io/en/stable/development/index.html
操作步骤:
注意:目录不可包含中文字符;当待打包文件存在配置文件时,需手动拷贝配置文件到指定目录,上述打包程序不会复制配置文件。
Python 使用 Pyinstaller 打包为 exe 文件
原文:https://www.cnblogs.com/daochangone/p/11377361.html