You'll have to manually install libjepg to get PIL working on a Mac.

If you have MacPorts installed, you should just be able to do "sudo
port install jpeg".

Otherwise, you can download it from one of these locations:

http://dir.filewatcher.com/d/GNU/Other/jpegsrc.v6b.tar.gz.613261.html

Then follow these instructions to build and install it:

http://snippets.dzone.com/posts/show/38

IIRC, you will need to reinstall/rebuild PIL after you install
libjpeg. Installing it via easy_install might not work properly.

On Feb 22, 5:22 pm, Oscar Carballal <piz...@gmail.com> wrote:
> Hello,
>
> I've just installed Django CMS in my Mac OS X 10.4.11 with Python 2.6.
> One of the requisites is the PIL library, which I've installed through
> "easy_install" and tested after installation.
>
> Even when the Python interpreter loads the module and works fine with
> it, Django and Django CMS keep saying the imaging library is not
> installed. This is the message:
>
> Error: One or more models did not validate:
> picture.picture: "image": To use ImageFields, you need to install the
> Python Imaging Library. Get it athttp://www.pythonware.com/products/pil/
> .
>
> I have PIL 1.1.7 with Python 2.6.4 on Mac OS X 10.4.11. I have PIL
> installed in: /Library/Frameworks/Python.framework/Versions/2.6/lib/
> python2.6/site-packages/PIL-1.1.7-py2.6-macosx-10.3-fat.egg/
>
> Any ideas?

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to