kitti360Scripts icon indicating copy to clipboard operation
kitti360Scripts copied to clipboard

Does not support pillow versions > 9.0.0

Open AniketDhar opened this issue 2 years ago • 2 comments

I am trying to run kitti360Viewer3DRaw.py with Python 3.8 and pillow 9.3.0 but always gives me error Please install the module 'Pillow' for image processing, e.g. pip install pillow I have checked my python, pip and pillow paths and installations and everything seems to be alright. I see that the following line https://github.com/autonomousvision/kitti360Scripts/blob/7d44b19446b92801cff403ac0eff5985986ff481/kitti360scripts/helpers/csHelpers.py#L19 checks for PILLOW_VERSION which has been discontinued from Pillow 9.0.0. The recommended way to use seems to use __version, for example, from PIL import __version__ as PILLOW_VERSION

AniketDhar avatar Jan 10 '24 14:01 AniketDhar

Hi, did you resolve this problem in the end? I tried to replace line 19 with 'from PIL import version as PILLOW_VERSION' but same thing still happened to me. ''' Please install the module 'Pillow' for image processing, e.g. pip install pillow

'''

wxyLuna avatar May 22 '24 09:05 wxyLuna

@wxyLuna You can try running pip install -e . after making the modifications.

jxbb233 avatar Jul 20 '24 16:07 jxbb233