I'm trying to make script file which is going to read some image and downscale it.
This is my shell script file
#!/usr/bin/env python3
#pip install Pillow
from PIL import Image
image = Image.open('some image path here')
image.resize((512, 512))
I imported 'PIL' library with pip but if I run this shell script file it doesn't work.
The Error says "No module named PIL".
I know what the error is meaning about. But how can I fix this problem?