PIL (Python Image Library) - Pillow
Verfasst: Montag 23. Dezember 2019, 11:51
Hi,
ich bin neu in Python und nutze dieses Forum um mein Wissen zu erweitern.
Aktuell arbeite ich an einer GUI und habe im Programmcode folgendes hinzugefügt:
Ich will in mein Label ein Bild hinzufügen.
Ich bin im Internet auf das "PIL" Package/Library gestoßen und das Module ImageTk.
Ich importiere es auch
alternativ:
Bekomme jedoch immer die Meldung: ModuleNotFoundError: No module named 'pillow'
Im Internet habe ich dann gegoogled und pillow installiert in der Shell.
Trotzdem bleibt die Meldung : ModuleNotFoundError: No module named 'pillow'
Was genau muss ich tun?
ich bin neu in Python und nutze dieses Forum um mein Wissen zu erweitern.
Aktuell arbeite ich an einer GUI und habe im Programmcode folgendes hinzugefügt:
Code: Alles auswählen
import tkinter as tk
root.title("xxx Zeiterfassungssystem")
label1 = tk.Label(root, text = "xxx Zeiterfassungssystem", fg="red", bg="green", anchor= "w", width= 30)
label1.pack()
root.mainloop()
Ich bin im Internet auf das "PIL" Package/Library gestoßen und das Module ImageTk.
Ich importiere es auch
Code: Alles auswählen
import PIL
Code: Alles auswählen
import pillow
Im Internet habe ich dann gegoogled und pillow installiert in der Shell.
Code: Alles auswählen
python -m pip install Pillow
Was genau muss ich tun?