安装 win + R --> cmd命令行 –> pip install pyinstaller 简单使用 cmd命令行–> pyinstaller -F <文件名.py> 文件输出后,在“dist”文件夹中,其他文件皆可删除