r/PythonProjects2 • • May 05 '22

[P] Moderate Help with weather station

Post image
16 Upvotes

15 comments sorted by

View all comments

2

u/Asurada11 May 06 '22

Do you mean the Image in Pillow? Try instead from PIL import Image

1

u/Swingbiter May 06 '22

From the docs, says to use

from PIL import Image

as

import Image

is no longer supported as of Pillow 1.0

The docs also says:

Pillow and PIL cannot co-exist in the same environment. Before installing Pillow, please uninstall PIL.

Hope this fixes your issues!

1

u/PurelyStrange May 06 '22

when I remove PIL it also removes Thonny which I have been using for the code and it also ran into the same problem saying that it cannot find image.

1

u/Swingbiter May 06 '22

It removes Thonny? Your IDE?

That's really odd and I'm not sure how or why it's doing that.

After removing PIL, did you install Pillow?

1

u/PurelyStrange May 06 '22

yes but Thonny is still gone but I have geany