python.exe 不是一个有效的 win32 应用程序错误突然出现 [英] python.exe is not a valid win32 application error coming suddenly

查看:67
本文介绍了python.exe 不是一个有效的 win32 应用程序错误突然出现的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在从 python 子进程多次运行 C++ 代码之前和之后,我的 python 环境工作正常,我启动了计算机,看到它说 python.exe 不是有效的 win32 应用程序,我不再访问 python.我不确定有什么变化.我需要重新安装python吗?当我打开 IDE 时,此消息来自 Python 2.7.3(默认,2012 年 4 月 10 日,23:24:47)[MSC v.1500 64 位 (AMD64)] on win32

My python environment was working alright before and after running a C++ code multiple times from python subprocesses, I started the computer and saw that it says that python.exe is not a valid win32 application and I no longer access python. What changed I am not sure. Will I need to reinstall python? When I open the IDE, this message comes Python 2.7.3 (default, Apr 10 2012, 23:24:47) [MSC v.1500 64 bit (AMD64)] on win32

推荐答案

下载(或打开,如果你已经有)dependency walker,然后在其中打开 python.exe.查看您是否缺少 DLL 或 DLL 已损坏.您可能需要重新安装 python,一些参考 DLL 或 exe 文件可能被损坏/覆盖/修改/删除.

Download (or open if you already have) dependency walker, then open python.exe in it. See if you are missing a DLL or got a DLL corrupted. You may require to re-install python, some reference DLL or exe files could be corrupted/overwritten/modified/deleted.

这篇关于python.exe 不是一个有效的 win32 应用程序错误突然出现的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆