windows python 使用pyinstaller2.1打包exe

python  打包

 1 下载 py2exe-0.6.9.win64-py2.7.amd64.exe

2 下载 PyInstaller-2.1.zip

3 解压pyinstller 后 cd 对应目录

把拷贝 要打包的 py文件放到 pyinstaller目录下面 执行



python pyinstaller.py GenTemplate/GenTemplate.py

对应的目录下面的 GenTemplate\dist 有发布目录,生成exe 成功

你可能感兴趣的:(windows python 使用pyinstaller2.1打包exe)