https://flyte.org logo
#ask-the-community
Title
# ask-the-community
b

Benjamin Chew

06/28/2023, 5:01 PM
Hi, I was attempting to use the ImageRenderer class from the flytedeckplugins library, but ran into an error:
module 'PIL' has no attribute 'Image'
. I dug into the weeds, and found out that PIL was not being imported at all, so I added it to the top of the file. Should I file an issue on Github for this? I notice that ImageRenderer is not on the Flyte docs at all as well.
e

Eduardo Apolinario (eapolinario)

06/28/2023, 6:59 PM
great catch, @Benjamin Chew. Can you file 2 separate gh issues for these? For the missing attribute one, can you double check which version of pillow you have installed in your system? It's a bit weird, since matplotlib lists it as a hard requirement. We should be listing pillow in plugin_requires (as it's a hard requirement) anyway.
b

Benjamin Chew

06/28/2023, 9:52 PM
Sure, will file those GH issues! My pillow version is 9.5, if that helps
2 Views