简体   繁体   English

我如何弄清楚为什么Python在Windows 7 64位中抛出这种非描述性错误

[英]How do I figure out why Python is throwing this non-descriptive error in Windows 7 64 bit

I'm making graphs using scipy on python 2.7 on Windows 7 64 bit. 我在Windows 7 64位上使用scipy在python 2.7上制作图表。 I installed it from http://www.lfd.uci.edu/~gohlke/pythonlibs/ . 我是从http://www.lfd.uci.edu/~gohlke/pythonlibs/安装的。

When running scripts, I'm periodically getting error boxes that say: 运行脚本时,我会定期收到错误框:

Title: 标题:

Microsoft Visual C++ Runtime Library Microsoft Visual C ++运行时库

Message: 信息:

Runtime Error! 运行时错误! Program: C:\\Python27\\pythonw.exe 程序:C:\\ Python27 \\ pythonw.exe

This application has requested the Runtime to terminate it in an unusual way. 此应用程序已请求Runtime以不寻常的方式终止它。 Please contact the application's support team for more information 有关更多信息,请联系应用程序的支持团队

And that's it. 就是这样。 How do I begin to figure out what is causing this error? 我如何开始弄清楚导致此错误的原因?

You could consider installing Visual Studio, and build and install Python and SciPy with debug symbols. 您可以考虑安装Visual Studio,并使用调试符号构建和安装Python和SciPy。 When Python subsequently crashes, if I'm not completely mistaken Windows should be giving you the option of debugging it in Visual Studio. 当Python随后崩溃时,如果我没有完全弄错,Windows应该为您提供在Visual Studio中调试它的选项。

Otherwise, I'd ask for assistance on one of the SciPy mailing lists . 否则,我会在其中一个SciPy邮件列表上寻求帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM