0

Using Pillow 3.4.2 for python 3.5 i am attempting to display the image Lenna using this code:

from PIL import Image
filename = 'C:/Users/Thomas/AppData/Local/Programs/Python/Lenna.png'
pic = Image.open(filename)
pic.show()

But I get the following error upon running the code:

builtins.AttributeError: module 'PIL._imaging' has no attribute 'fill'

Danila Ganchar
  • 10,266
  • 13
  • 49
  • 75

0 Answers0