参考 官网:http://www.pyinstaller.org/ pyinstaller参数使用 使用spec文件 安装 Windows依赖pypiwin32,新版的pyinstaller已经包含了该模块,不用单独安装. pipenv install pyinstaller 运行 pyinstaller [options] xxx.py 完整的命令行: pyinstaller [options] script [script -] | specfile 最简单的调用方式 pyinstaller…