1、安装pyinstaller 下载安装pyinstaller地址: https://pypi.python.org/pypi/PyInstaller 如果已经安装了pip,直接输入“pip install pyinstaller”就搞定了。 2、使用pyin