1,安装pyinstaller:pyInstalller下载网址 2,还需要下载一个pywin32,pywin32网址,注意选择Python3.6版本的下载 3,pyinstaller -F hello.py