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