By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,740 Members | 844 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,740 IT Pros & Developers. It's quick & easy.

PyNew_Interpreter(): "Fatal Python error, invalid thread state for this thread" question

P: n/a

Trying to grasp Py_NewInterpreter()in a simple app embedding Python, I was
wondering why the following gives me an error:

int main() {

PyThreadState *tstate;

//The following returns
//Fatal Python error, invalid thread state for this thread
tstate = Py_NewInterpreter();


Python is 2.3.3c1 on Win XP
Pointers much appreciated


Vincent Wehren

Jul 18 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.