windows 에서 pyautogui 설치
아래같은 에러가 발생한다.C:\a\programming>pip install pyautogui
Collecting pyautogui
Using cached PyAutoGUI-0.9.33.zip
Collecting pymsgbox (from pyautogui)
Using cached PyMsgBox-1.0.3.zip
Collecting PyTweening>=1.0.1 (from pyautogui)
Using cached PyTweening-1.0.3.zip
Collecting Pillow (from pyautogui)
Using cached Pillow-3.4.2-cp34-cp34m-win_amd64.whl
Collecting pyscreeze (from pyautogui)
Using cached PyScreeze-0.1.8.zip
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\user\AppData\Local\Temp\pip-build-qk6xl6y6\pyscreeze\setup.py", line 6, in <module>
version=__import__('pyscreeze').__version__,
File "C:\Users\user\AppData\Local\Temp\pip-build-qk6xl6y6\pyscreeze\pyscreeze\__init__.py", line 21, in <module>
from PIL import Image
ImportError: No module named 'PIL'
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in C:\Users\namh\AppData\Local\Temp\pip-build-qk6xl6y6\pyscreeze\
해결책
image 를 install 하고, 다시 pyautogui 를 설치하면 된다.[ref. 1]
pip install image
댓글 없음:
댓글 쓰기