python exe工具在win7系统运行异常问题

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,_ 不定时分享好玩的示例与实用工具喜欢的同学可以移步下!!
在这里插入图片描述

  • 3
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值