开发者

Runtime error using Python 2.7 IDLE for Windows?

Every time I run my code in Python IDLE development environment, I get a Visual C++ runtime error/unhandled exception in pythonw.exe.

Figure 1: pythonw.exe - Application Error
The exception unknown software exception (0x40000015) occurred 
in the application at location 0x1e0e1379. 

I am using networkx and matplotlib 开发者_开发技巧to display a graph:

import matplotlib.pyplot as plt
import networkx as nx

I am running Windows XP. Any ideas how to resolve this? Or should I just quit using IDLE?


The easiest fix for this is to open IDLE from the start menu and then opening your code files from there.


The solution to this problem was indeed to quit using IDLE. I got the Python stuff for Eclipse; I'd recommend that setup.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜