我的Python自学之路

PyInstaller打包程序

2016-09-17  本文已影响166人  C_Y_

PyInstall官网
http://www.pyinstaller.org/
最新版是3.2,下载地址:
https://github.com/pyinstaller/pyinstaller/releases/download/v3.2/PyInstaller-3.2.zip

解压到指定目录,比如E:\PyInstaller-3.2
用命令行进入解压目录E:\PyInstaller-3.2,运行python setup.py
同时将E:\PyInstaller-3.2放入系统变量
用命令行进入需要打包的程序目录,如e:\test\test.py
运行pyinstaller -F test.py

上一篇 下一篇

猜你喜欢

热点阅读