spacetelescope / jwst_mast_query

Command line tool for querying MAST and downloading JWST data products
BSD 3-Clause "New" or "Revised" License
18 stars 11 forks source link

No module named 'PIL' #48

Closed eas342 closed 1 year ago

eas342 commented 1 year ago

I upgraded recently and got the following error:

(mast_query) % python jwst_query.py --propID 1185 -l 5
Traceback (most recent call last):
  File "~/jwst_mast_query/jwst_mast_query/jwst_query.py", line 18, in <module>
    from PIL import Image
ModuleNotFoundError: No module named 'PIL'

pip install Pillow solved the problem for me. Maybe that just needs to be in the installation requirements?

bhilbert4 commented 1 year ago

Good catch! Thanks Everett. I'll add that to setup.py.