I've imported the pyscreenshot module, but when I run code with it, it gives me this error:
Traceback (most recent call last):
File "myfilepaththatiwontshow", line 7, in <module>
import pyscreenshot
File "C:\Users\A\AppData\Local\Programs\Python\Python310\lib\site-packages\pyscreenshot\__init__.py", line 4, in <module>
from pyscreenshot.childproc import childprocess_backend_version
File "C:\Users\A\AppData\Local\Programs\Python\Python310\lib\site-packages\pyscreenshot\childproc.py", line 6, in <module>
from pyscreenshot.imcodec import codec
File "C:\Users\A\AppData\Local\Programs\Python\Python310\lib\site-packages\pyscreenshot\imcodec.py", line 3, in <module>
from PIL import Image
ModuleNotFoundError: No module named 'PIL'
I've checked twice and the pyscreenshot module is installed and tried running
pip install PIL
but apparently it doesn't exist.