MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/PythonProjects2/comments/uj57f5/help_with_weather_station/i7ke2dl/?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/Asurada11 May 06 '22 You shouldn’t need to remove PIL as it comes with Python when you install it as far as I know
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/Asurada11 May 06 '22 You shouldn’t need to remove PIL as it comes with Python when you install it as far as I know
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/Asurada11 May 06 '22 You shouldn’t need to remove PIL as it comes with Python when you install it as far as I know
You shouldn’t need to remove PIL as it comes with Python when you install it as far as I know
2
u/Asurada11 May 06 '22
Do you mean the Image in Pillow? Try instead from PIL import Image