본문 바로가기
파이썬

파이썬 PIL을 설치하려고 할 때 오류 발생

by º기록 2020. 10. 25.
반응형

PIL을 설치하려고하는데 오류가 발생합니다. 어떻게해야합니까?

$ Command
Result
------------
$ pip install PIL

Collecting PIL
  Could not find a version that satisfies the requirement PIL (from versions: )
No matching distribution found for PIL
--------------------------------------------------------------------
$ pip install PIL  --allow-unverified PIL --allow-all-external

DEPRECATION: --allow-all-external has been deprecated and will be removed in the future. Due to changes in the repository protocol, it no longer has any effect.
DEPRECATION: --allow-unverified has been deprecated and will be removed in the future. Due to changes in the repository protocol, it no longer has any effect.
Collecting PIL
  Could not find a version that satisfies the requirement PIL (from versions: )
No matching distribution found for PIL

 

해결 방법

 


pip install Pillow

사용을 가져 오려면 :

from PIL import Image

 

참조 페이지 https://stackoverflow.com/questions/41326387

 

 

반응형

댓글