Open Salvatore-tech opened 2 years ago
Hey @Salvatore-tech, This error message says "ModuleNotFoundError: No module named 'PIL'". This indicates that the Python Imaging Library (PIL) is not installed in your environment. Use this code to install PIL, pip install pillow
Hi, As you can observe from the following stacktrace, we need to also provide pillow in the environment.
Traceback (most recent call last): File "run_segmentation.py", line 11, in
import util.io
File "/home/s/DepthNets/DPT/util/io.py", line 9, in
from PIL import Image
ModuleNotFoundError: No module named 'PIL'
Traceback (most recent call last):
File "run_segmentation.py", line 11, in
import util.io
File "/home/s/DepthNets/DPT/util/io.py", line 9, in
from PIL import Image
ModuleNotFoundError: No module named 'PIL'