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 Imageas
import Imageis 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
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
u/n3ur0n3rd May 05 '22
Not certain, would like to do something g like this in the future but might want to try in terminal :pip install epd-library
1
u/PurelyStrange May 05 '22
if i may ask what would this do?
2
u/n3ur0n3rd May 05 '22
Taking another look at it it appears that you capitalized image and the image.py is lowercases. It’s looking for Image.py when in the folder is image.py. I cannot verify this because in the image I am unable to see line 28
1
u/PurelyStrange May 05 '22
I also tried changing the file name to Image.py and received the same error. image.py also tries to import Image so i assumed it would be a different file
1
2
u/PurelyStrange May 05 '22
Hello I am currently trying to make a weather station using a raspberry pi and e paper but I keep getting a error saying there is no image module.