PIL: cannot import name '_imaging' from 'PIL'
Verfasst: Samstag 25. Januar 2025, 19:00
Guten Abend
Gibt die Fehlermeldung: cannot import name '_imaging' from 'PIL'
Das Problem taucht auf, seit ich versuche mein Skript auf einem neuen MacBook laufen zu lassen. Das OS ist Sequioa 15.2 (24C101), Python ist 3.9 und die Version von Pillow ist 2.0.
Meine Internet Suche hat ergeben, dass man PIL mit pip deinstallieren sollte und danach wieder mit PIP install -U Pillow installiert. Ich habe das jetzt schon ein paarmal ohne Erfolg gemacht.
Ich habe keine Ahnung was ich weiter tun kann. Weiss jemand Rat?
Gruss
Christoph
Code: Alles auswählen
from PIL import Image
Das Problem taucht auf, seit ich versuche mein Skript auf einem neuen MacBook laufen zu lassen. Das OS ist Sequioa 15.2 (24C101), Python ist 3.9 und die Version von Pillow ist 2.0.
Meine Internet Suche hat ergeben, dass man PIL mit pip deinstallieren sollte und danach wieder mit PIP install -U Pillow installiert. Ich habe das jetzt schon ein paarmal ohne Erfolg gemacht.
Ich habe keine Ahnung was ich weiter tun kann. Weiss jemand Rat?
Gruss
Christoph