Just a wild guess, I'm not able to test something right now: I think your error stems from the pyinit statement, not related to tkinter, but related to running python inside csound. Do your Csound version have the py opcodes ? (run csound -z and see if you can find pyinit in the displayed list, if you have pyinit you probably also have about 90 to 100 other py opcodes in the same list) best Oeyvind 2008/10/8 kind beta : > hello. > > is it possible to use tkinter within csound? > i use the csound 5.09, python 2.52 and winXP. > > the following code: > ---- > pyinit > pyruni {{ > from Tkinter import * > gusi = Tk() > }} > ---- > produces the following message: > ---- > INIT ERROR in instr 0: pyruni: python exception > pyruni " > from Tkinter import * > gusi = Tk() > " > header init errors > ----- > > the csound example file ievent.orc form /Csound/examples/py/ievent.orc > produces the same error message. > > can anyone tell me, what it takes to make this work? > > i posted this in the csound forum, but now i realised that more is happening > on this list... >