Seite 1 von 1

No module named 'Tkinter', 'tkFileDialog'

Verfasst: Mittwoch 14. März 2018, 17:05
von Mueller.D
Hallo ich habe ein Problem,

wie und wo finde ich Tkinter und tkFileDialog'?
Ich hab mehrere Python Versionen durch aber überall das Gleiche.
Wer kann mir helfen, wo kann ich die ganzen Standard Pakete ziehen?
Im Forum war nur ein Eintrag, aber der hat mir nicht geholfen.

Danke

Re: No module named 'Tkinter', 'tkFileDialog'

Verfasst: Mittwoch 14. März 2018, 20:48
von Tholo
Kann es sein das du Python3 nutzt? Hast du bei der Installation tkinter ebenfalls installiert?

Code: Alles auswählen

#!/usr/bin/python3

import tkinter # note that module name has changed from Tkinter in Python 2 to tkinter in Python 3
top = tkinter.Tk()
# Code to add widgets will go here...
top.mainloop()
Welches Betriebssystem nutzt du?

Re: No module named 'Tkinter', 'tkFileDialog'

Verfasst: Donnerstag 15. März 2018, 07:31
von noisefloor
Hallo,
Ich hab mehrere Python Versionen durch aber überall das Gleiche.
Welches Betriebssystem benutzt du und wie hast du Python installiert?

Gruß, noisefloor