ETC

The Pillow package is required to use this function

GreatSaiyaman 2022. 6. 2. 21:26
The Pillow package is required to use this function

파이썬으로 이미지 인식관련되서 기능구현을 하려는데 아래와 같은 오류가 발생하였습니다.

정확히는, 스크린샷을 따서 해당 이미지를 저장하려는 기능을 구현하고 있었습니다.

pip install Pillow --upgrade

이런 경우, Pillow의 version을 upgrade해주면 됩니다.

도움받은 Stackoverflow 링크 첨부해둘게요.

python - pyautogui, screenshot function doesn't recognize installed Pillow module - Stack Overflow

 

pyautogui, screenshot function doesn't recognize installed Pillow module

I want to execute this code in Pycharm x, y = pyautogui.locateCenterOnScreen('LVL35.png') But I get this message ImportError: Pillow module must be installed to use screenshot functions on Wind...

stackoverflow.com

 

Pillow라는 라이브러리에 대해서는 추후 따로 포스팅으로 다루도록 하겠습니다.

감사합니다.