Matt Montag
Matt Montag

Reputation: 7491

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?

Upvotes: 0

Views: 2563

Answers (2)

Hiba Awad
Hiba Awad

Reputation: 21

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

Upvotes: 2

Matt Montag
Matt Montag

Reputation: 7491

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

Upvotes: 0

Related Questions