Running Python 3.9-3.11 based applications on Windows 7

Have a method to get an application work on an older unsupported Windows version? Post it here.
User avatar
K4sum1
Lazy Owner
Posts: 638
Joined: 11 Jan 2021, 07:40
OS: Windows 7 x64
Has thanked: 228 times
Been thanked: 121 times
Contact:
United States of America

Running Python 3.9-3.11 based applications on Windows 7

Unread post by K4sum1 »

When trying to use Legendary, I noticed that it didn't work on 7 because the latest releases use Python 3.9, it has the api-ms-win-core-path-l1-1-0.dll error.

To solve this, grab api-ms-win-core-path-HACK, and copy the x64 dll into %windir%\System32, and then copy the x86 dll to %windir%\syswow64.

Due to the way Legendary works, it extracts a minified Python 3.9 into %temp%, then it executes the code, because using an actually good coding language is too hard I guess. This means that the dll can't be used unless it is copied to the system folders. This probably works for more applications, I just don't know much that uses anything past 3.8.
R3n who?

User avatar
K4sum1
Lazy Owner
Posts: 638
Joined: 11 Jan 2021, 07:40
OS: Windows 7 x64
Has thanked: 228 times
Been thanked: 121 times
Contact:
United States of America

Running Python 3.9-3.11 based applications on Windows 7

Unread post by K4sum1 »

I tested this with the latest Python 3.11 (portable ofc) and it works with that, so this will work for a lot of applications for the foreseeable future.
R3n who?

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests