2016-05-18 18 views
2

Ich kann PIL nicht installieren. Als ich pip install PIL laufen erhalte ich:Kann PIL nicht installieren

Downloading/unpacking PIL 
    Could not find any downloads that satisfy the requirement PIL 
Cleaning up... 
No distributions at all found for PIL 
Storing debug log for failure in /tmp/tmpWJojCu 

Ich habe versucht, nach den Antworten auf this Frage, aber ich erhalte die gleiche Störung.

Stapel: Python 2.7, PIP, EC2 Ubuntu Maschine.

+0

'pillow' –

+0

vorherigem Kommentar installieren Pip: Verwenden Sie [Pillow] (https://python-pillow.org/) anstelle veralteten PIP. Außerdem ist Ihr Debug-Protokoll in '/ tmp/tmpWJojCu' gespeichert. Lesen Sie das also: es sollte Ihnen mehr Informationen darüber geben, was schief gelaufen ist. – Jens

Antwort

5

Dieser beißt viele Leute, PIL ist pillow geworden.

pip install pillow 

Aber der Importname war unverändert, daher unterscheidet er sich jetzt vom Paketnamen. Das heißt, auch weiterhin zu Ihnen:

from PIL import Image