Python application doesn't find tkinter but it's installed

I see you don’t like to read tracebacks. :grin:

They installed tensorkit, which makes it available to import, presumably like so: import tk or import tk as tensorkit.

However they imported tkinter, which in turn imported _tkinter which complained that libtk8.6.so is missing.

libtk8.6.so is owned by the tk package in the repos (not to be confused with tensorkit), so either OP has an old version, it’s not installed, or something weird is going on.

1 Like