Pyinstaller打包可在Win XP运行程序

时间:2024-04-11 19:54:08

软件准备:

1、Python版本:Python3.4.3。Python3.5以上版本不再支持XP。

2、Pyinstaller:Pyinstaller3.2.1。

3、pywin32:pywin32-220。

文件下载地址:https://download.csdn.net/download/qq_37845939/12057351

安装步骤:

1、安装Python3.4.3。

2、安装pywin32。直接点击pywin32-220.win32-py3.4.exe。

3、将Pyinstaller压缩包拷贝到Python安装目录中的Scripts中(例如:C:\Python34\Scripts\)进行解压,进入解压出来的文件目录中,执行命令:python setup.py install 完成安装。

Pyinstaller打包可在Win XP运行程序

4、执行pyinstaller -h可查看是否打包成功

Pyinstaller打包可在Win XP运行程序