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
  • 2,867
  • 3
  • 16
  • 25
Vivek Sasidharan
  • 1,225
  • 3
  • 20
  • 34

1 Answers1

5

You need to install the module using pip or easy_install:

pip install Pillow

Pillow 2.2.1

Bun
  • 2,867
  • 3
  • 16
  • 25