Eclipse Community

Running Python 3.9-3.11 based applications on Windows 7

Post Reply   Page 1 of 1  [ 4 posts ]
First unread post
Author Message
K4sum1
Post subject: Running Python 3.9-3.11 based applications on Windows 7
+ Posted: 08 Dec 2022, 01:04
Lazy Owner
User avatar
Offline
 
Posts: 891
Joined: 11 Jan 2021, 07:40
Location: ur dads house
OS: Windows 8.1 x64
 
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.

_________________

I don't know what I'm doing hit album by Brad Sucks


Top
Profile Quote
K4sum1
Post subject: Running Python 3.9-3.11 based applications on Windows 7
+ Posted: 14 Jan 2023, 14:47
Lazy Owner
User avatar
Offline
 
Posts: 891
Joined: 11 Jan 2021, 07:40
Location: ur dads house
OS: Windows 8.1 x64
 
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.

_________________

I don't know what I'm doing hit album by Brad Sucks


Top
Profile Quote
Darth Agnon
Post subject: Running Python 3.9-3.11 based applications on Windows 7
+ Posted: 16 Feb 2023, 20:08
User avatar
Offline
 
Posts: 7
Joined: 12 Feb 2023, 20:25
OS: Windows 7
Contact: Website, Reddit
 
There is also this project which supplies Python 3.9 to 3.11 installers that support Windows 7 and Windows Server 2008 R2, basically by including api-ms-win-core-path-HACK and modifying the installers.


Top
Profile Quote
K4sum1
Post subject: Running Python 3.9-3.11 based applications on Windows 7
+ Posted: 16 Feb 2023, 20:35
Lazy Owner
User avatar
Offline
 
Posts: 891
Joined: 11 Jan 2021, 07:40
Location: ur dads house
OS: Windows 8.1 x64
 
I'd think it would be better to just remove the requirement instead of including the dll if you're already modifying source.

_________________

I don't know what I'm doing hit album by Brad Sucks


Top
Profile Quote
Display: Sort by: Direction:
Post Reply   Page 1 of 1  [ 4 posts ]
Return to “Compatibility Mods”
Jump to:

Who is online

Users browsing this forum: No registered users and 5 guests