Closed NuruDashdamir closed 1 year ago
Hi, this is not a bug in this repository - it is related to the Python embeddable package in general. The documentation here says that in order to use the embeddable package, you need the Microsoft C runtime installed. It appears that you don't have that installed.
Hi, this is not a bug in this repository - it is related to the Python embeddable package in general. The documentation here says that in order to use the embeddable package, you need the Microsoft C runtime installed. It appears that you don't have that installed.
Thanks for the fast response / help! 👍 Yes, that was the case. I just extracted DLL files from "Microsoft C Runtime" installer and put it to same folder with Python executable. That way it works without any extra installation.
For people who face the same issue: you can just go to Python documentation link @adang1345 provided, it will have the link for installing the required runtime. Installation is the most logical option (that way all programs can use the runtime DLLs from "system32"). But if someone faces this issue, and wants 100% portable, 32-bit embedded package, just add DLL files in this archive to embedded Python folder: vcredist-x86-win7.zip
Without the DLLs:
With the DLLs:
Opening "python.exe" from any of "python-3.x.x-embed-win32.zip" results with this error.
I have checked it with different Windows 7 (x86) installations on couple of netbooks which has Intel Atom (old x86 variant) processors. Also I tested different modded Windows 7 32 bit editions on VirtualBox and results were the same.