一、Pyinstaller安装
安装:
pip install pyinstaller
或者
pip install pyinstaller -i https://pypi.douban.com/simple
二、Pyinstaller使用
2.1、cd到你python文件目录
C:\Users\meifen.hu>cd D:\python_test\MdpSentData\src
C:\Users\meifen.hu>D:
2.2、打包
D:\python_test\MdpSentData\src>pyinstaller -F compare_run.py
扫描二维码关注公众号,回复:
9116360 查看本文章
9356 INFO: Building EXE from EXE-00.toc completed successfully.