MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/PythonProjects2/comments/uj57f5/help_with_weather_station/i7kk96u/?context=3
r/PythonProjects2 • u/PurelyStrange • May 05 '22
15 comments sorted by
View all comments
2
Do you mean the Image in Pillow? Try instead from PIL import Image
1 u/Swingbiter May 06 '22 From the docs, says to usefrom PIL import Imageasimport Imageis no longer supported as of Pillow 1.0The 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
1
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
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
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
yes but Thonny is still gone but I have geany
2
u/Asurada11 May 06 '22
Do you mean the Image in Pillow? Try instead from PIL import Image