python 打包exe工具在win7系统运行异常问题
最近开发一款小工具,调用摄像头进行拍照的,在windows10,windows11运行正常,在windows7客户机上面运行异常。
python官方介绍
Python 3.9.5 - May 3, 2021
Note that Python 3.9.5 cannot be used on Windows 7 or earlier.
Download Windows embeddable package (32-bit)
Download Windows embeddable package (64-bit)
Download Windows help file
Download Windows installer (32-bit)
Download Windows installer (64-bit)
Python 3.8.10 - May 3, 2021
Note that Python 3.8.10 cannot be used on Windows XP or earlier.
Download Windows embeddable package (32-bit)
Download Windows embeddable package (64-bit)
Download Windows help file
Download Windows installer (32-bit)
Download Windows installer (64-bit)
也就是说win7最多支持到python3.8.10
更改python版本
我本地打包是从虚拟环境Anaconda,进行pyinstaller打包的。
所有我只需要在对应的虚拟环境进行切换版本即可
Step1:切换到你要打包的虚拟环境
conda activate test
Step2: 重新install你的python版本
conda install pythone=3.8.10
添加VVVVX,_ 不定时分享好玩的示例与实用工具
喜欢的同学可以移步下!!