Windows 7 support for Python 3.9 or 3.10

由于Python3.9及更高版本不再支持Windows7,但通过一些技巧仍可运行。该博客提到一种解决方法,即使用来自Wine项目的代码来修改api-ms-win-core-path-l1-1-0.dll,并将其与python39.dll放在同一目录下,即可使Python在Windows7上正常运行。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Windows 7 support for Python 3.9 or 3.10

Since Python 3.9 did not support Windows7 from his release,
It’s HARD to run python.exe in Windows7 without any hack skill.

Some workaround could be found bellow:

https://discuss.python.org/t/windows-7-support-for-python-3-9-or-3-10-without-a-fork/13842/3

it mentioned that:

Note: for a api-ms-win-core-path-xxx.dll hack for Win7, see api-ms-win-core-path-HACK/api-ms-win-core-path-blender.c at master · nalexandru/api-ms-win-core-path-HACK · GitHub . It works.

This project provide a solution by hacking api-ms-win-core-path-l1-1-0.dll ,whois code comes from Wine project.
api-ms-win-core-path-HACK

just put api-ms-win-core-path-l1-1-0.dll alongside with python39.dll,
everything will go back.

在这里插入图片描述

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值