Skip to content
This repository has been archived by the owner on Dec 18, 2024. It is now read-only.

Add pillow in requirements.txt #74

Open
Salvatore-tech opened this issue Aug 15, 2022 · 1 comment
Open

Add pillow in requirements.txt #74

Salvatore-tech opened this issue Aug 15, 2022 · 1 comment

Comments

@Salvatore-tech
Copy link

Salvatore-tech commented Aug 15, 2022

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'

@v-parmar
Copy link

v-parmar commented Feb 7, 2023

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants