django-imagekit icon indicating copy to clipboard operation
django-imagekit copied to clipboard

Is available to raise exception or put a warning when installing imagekit without PIL?

Open vitalyvolkov opened this issue 12 years ago • 3 comments

It is very hard to define what's wrong with imagekit when no errors instead of no module importers. And after a few minutes founded out that I have not installed PIL package.

My suggestion is

  1. to raise exception when installing django-imagekit;
  2. to add PIL to dependencies;
  3. to put a warning if no PIL installed.

vitalyvolkov avatar Jul 22 '13 06:07 vitalyvolkov

Hm. PIL is kind of a special case: we can't just add it to the dependencies because technically it isn't a requirement (you can also use Pillow).

I think we can improve that error though; I'll take a look sometime next week.

matthewwithanm avatar Jul 22 '13 19:07 matthewwithanm

Were you seeing "no module importers" in the shell?

matthewwithanm avatar Aug 19 '13 03:08 matthewwithanm

These days PIL is not something that can be considered and we can depend on Pillow explicitly I think. Probably we can add it.

vstoykov avatar Apr 05 '23 22:04 vstoykov