Python学习手记
1、pip install pyinstaller
2、c:\python27\script\pyinstaller.exe 要打包的程序头文件.py
3、在 dist 目录中会生成打包好的EXE
常见错误:双击一闪而过,说明打包有错误,具体看build文件下的warn***.txt文档,里面详细记载了错误的原因。一般都是库丢失。
© 洛基的城堡 | Powered by LOFTER