반응형
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
반응형
'파이썬' 카테고리의 다른 글
파이썬 How to increment datetime by custom months in python without using library (0) | 2020.10.25 |
---|---|
파이썬 문자열을 사용하여 Python에서 함수 호출 (0) | 2020.10.25 |
파이썬 Tensorflow 평균 제곱 오차 손실 함수 (0) | 2020.10.25 |
파이썬 Ctrl-C 즉, KeyboardInterrupt를 사용하여 Python에서 스레드 종료 (0) | 2020.10.24 |
파이썬 Convert string to Enum in Python (0) | 2020.10.24 |
댓글