Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants