-
-
Notifications
You must be signed in to change notification settings - Fork 33.2k
Open
Labels
type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Description
Bug report
Bug description:
Installing (AMD) 64-bit Python on Windows 11 ARM is not a problem, however on running python.exe this dialog pops up:
python.exe - Bad Image
C:\Users\Brecht Machiels\AppData\Local\Programs\Python\Python312\VCRUNTIME140.dll is either not designed to run on Windows or it contains an error. Try installing the program again using the original installation media or contact your system administrator or the software vendor for support. Error status 0xc000007b.
OK
Running py -V:3.12
returns no output, but exists with a 127 return code.
Renaming vcruntime140.dll
and vcruntime140_1.dll
that sit alongside python.exe
fixes the issue.
The 32-bit version of Python 3.12.7 does not suffer from this issue.
For completeness: I'm running Windows 11 ARM on an M1 MacBook using UTM.
CPython versions tested on:
3.12
Operating systems tested on:
Windows
Metadata
Metadata
Assignees
Labels
type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error