I'm trying to host run a GUI program on my pi using ssh. but I get this error:

App(Tkinter.Tk(), "window name")
NameError: name 'Tkinter' is not defined.

however when I type "import Tkinter" in pi python, it's imported successfully. pls whats the problem and any solution?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.