you likely installed PIL from source into a directory not in your
Python path.

>From the command line you can use PIL with:
$ python
>>> from PIL import Image


On Jun 12, 8:50 pm, Kenneth <kenneth.t.lundst...@gmail.com> wrote:
> Hello,
>
> I´m trying to create thumbnails from images uploaded to my
> application. I´ve found a couple of ways to do this but I need PIL to
> get things to work. I installed PIL from source and some extra
> libraries (jpeg, freetype).
>
> But I still get error "No module named PIL".
>
> I´m 99% sure this is not a web2py issue but maybe somebody can help me
> out.
>
> I´m running on an CentOS 5.x server, Apache and mod_wsgi. As I have
> understod you don´t have to "install" PIL into web2py.
>
> How do I test from command line that python finds PIL?
>
> Kenneth

Reply via email to