[issue9890] Visual C++ Runtime Library Error is there a fix?

Gösta Huldt report at bugs.python.org
Sat Sep 25 21:08:21 CEST 2010

Gösta Huldt <ghuldt at gmail.com> added the comment:

I get the same error, but only when IDLE is run with the -n flag. 
In my case, the error occurs when attempting to switch back to the IDLE gui after executing a script that opens a graphics window (using the vtk module). This is with Python 2.6. 

I have Visual C++ 2010 Express installed, along with a previous install of the 2008 redistributable.

The following message is returned to the prompt:

Fatal Python error: PyEval_RestoreThread: NULL tstate

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.

nosy: +Gösta.Huldt
versions: +Python 2.6 -Python 3.1

Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list