The official website:http://www.pyinstaller.org/ Install PyInstaller from PyPI:pip install pyinstaller Go to your program’s directory and run:pyinstaller -F yourprogram.py 原理:把py解释器一起打包了。。。 找到:exe在dist文件夹里面
pip install pyinstaller
pyinstaller -F yourprogram.py