1

I am a flask newbie. I want to use PIL module in flask. However after writing my code, when I try to start my server, I get an error that ImportError: No module named PIL. What is wrong here?

Bun
  • 3,037
  • 3
  • 19
  • 29
Vivek Sasidharan
  • 1,265
  • 3
  • 17
  • 34

1 Answers1

5

You need to install the module using pip or easy_install:

pip install Pillow

Pillow 2.2.1

Bun
  • 3,037
  • 3
  • 19
  • 29