Thank you very much, I followed your instructions and it worked
perfectly. This is what I've done (if someone needs it):
- Download jpeg6b
- Copy the config.sub and config.guess located at ~/gtk/source/
libtool-2.2.6/libltdl/ (I've installed GTK+ for OSX with gtk-osx-
build-setup.sh so I dont' have a /usr/share/libtool)
- Delete the old PIL at /Library/Frameworks/Python.framework/Versions/
2.6/lib/python2.6/site-packages/PIL-1.1.7-py2.6-macosx-10.3-fat.egg/
- Download PIL 1.1.7 source and install it
El 22/02/2010, a las 23:59, Tim Shaffer escribió:
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.
--
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.