python 使用pyinstaller对PY文件进行exe打包

操作步骤:

1.先安装pyinstaller

我本机使用pip install 进行安装会报错,所以我通过压缩包进行安装

从GitHub开发人员存储库下载pyinstaller压缩包
https://github.com/pyinstaller/pyinstaller/archive/develop.zip

2.解压后进入解压包
python setup.py install

3.进入需要打包的py文件夹

pyinstaller -F -w test_save.py

 双击即可运行

原文地址:https://www.cnblogs.com/jescs/p/12848485.html