Tk / tcl

I want to use Tk to open an explorer. It works fine before create a p3d file but when I use the p3d file I have this error :

_tkinter.TclError: Can't find a usable init.tcl in the following directories:

Does anybody have an idea ?

PS : I added this command to pdef definition without success :

require('tk', 'panda3d')

I don’t think anyone else has attempted to use Tk within a p3d file yet. Looks like there are some issues.

Maybe it’s just a matter of finding certain physical files on disk that Tk requires; if you can figure out what is needed, we can probably fix the p3d system to include them and unpack them appropriately.

In the meantime, you could use a different GUI such as wx, which I know to work in a p3d file.

David

Ok, thanks for your answer .