Error 0xc000007b on opening python

Eryk Sun eryksun at gmail.com
Fri Oct 2 18:33:05 EDT 2020


On 10/2/20, Nipur Gupta <nipurbedazzled at gmail.com> wrote:
> I've downloaded python 3.6.0 64 bits but whenever I try to open idle, it

Python 3.8 supports Windows 8.1, so, unless otherwise required, you
should install the latest release of 64-bit Python 3.8, which is
currently 3.8.6:

https://www.python.org/ftp/python/3.8.6/python-3.8.6-amd64.exe

The 3.6 branch is no longer maintained. If 3.6 is required, you should
install 3.6.8, the last build that was released for Windows about two
years ago:

https://www.python.org/ftp/python/3.6.8/python-3.6.8-amd64.exe

> doesn't open and displays error 0xc000007b.

STATUS_INVALID_IMAGE_FORMAT (0xC000007B or -1073741701) is an NTSTATUS
code from the native NT system beneath the Windows (Win32) API.
Low-level status codes are observed for critical failures such as
failing to initialize a process or an unhandled OS exception.

STATUS_INVALID_IMAGE_FORMAT is from the system loader during process
initialization. The executable file or a dependent DLL could be
corrupt. Or the loader might be trying to load a 32-bit DLL in a
64-bit process, or vice versa.

If the error persists after removing 3.6.0 and installing a newer
release, then I would resolve the problem by running python.exe under
a debugger with "loader snaps" enabled, which will show detailed debug
messages from the loader.


More information about the Python-list mailing list