1、安装Pyinstaller
这里用的是pip,简单方便的自动安装方法
在cmd里面输入
python -m pip install PyInstaller
2、 自动下载所以需要的程序
3、输入pyinstaller证明安装成功