zuruoke/watermark-removal

No module named PIL on Ubuntu 22.04

anwarulislam opened this issue · 3 comments

I'm facing this issue on the Ubuntu server. Where I'm trying to setup this python project. Could you please make a setup guide for Ubuntu? I can't do anything. I tried it on my mac as well. No module found cv2, PIL

image

use google colab for reproducible result

Did you pip install Pillow?

if you use google colab then you won't have to outrightly install cv2 and pillow, you just

from PIL import Image
import cv2

Outside google colab, you would have to install pillow and cv2 using pip
<! dependency version might kind of be problematic >