Re: Trouble installing PIL

2008-05-23 Thread Austin Govella
On May 23, 4:35 am, Scott SA <[EMAIL PROTECTED]> wrote: > It seems, the problem _can_ be in how PIL is installed into the site-packages > directory. > The alternative is that your environment (i.e. sys.path) does not contain the > correct path > to the correct python site-packages directory. I

Re: Trouble installing PIL

2008-05-23 Thread Ivan Illarionov
There is one common problem with PIL: if you tried to install it *before* you install JPEG and other libraries, it won't recompile C extensions with newer headers and libraries. The solution is to rebuild PIL with -f switch: python setup.py build_ext -f (sudo) python setup.py install Hope this

Re: Trouble installing PIL

2008-05-23 Thread Scott SA
On 5/23/08, Austin Govella ([EMAIL PROTECTED]) wrote: >Does anyone have any insights on how to work around the bug noted in >#7019? > >I need to add/edit a path somewhere, yes? But where? >On May 20, 12:42 am, Austin Govella <[EMAIL PROTECTED]> wrote: >> It was a PYTHONPATH problem. I fixed it

Re: Trouble installing PIL

2008-05-23 Thread Austin Govella
Does anyone have any insights on how to work around the bug noted in #7019? I need to add/edit a path somewhere, yes? But where? On May 20, 12:42 am, Austin Govella <[EMAIL PROTECTED]> wrote: > It was a PYTHONPATH problem. I fixed it using this tutorial: >

Re: Trouble installing PIL

2008-05-20 Thread Graham Dumpleton
On May 20, 3:42 pm, Austin Govella <[EMAIL PROTECTED]> wrote: > It was a PYTHONPATH problem. I fixed it using this tutorial: > *http://emmby.blogspot.com/2008/05/installing-python-pil-on-mac-os-x-1... > > (I'm using python 2.4, so I adjusted the path accordingly.) > > Everything validates. Server

Re: Trouble installing PIL

2008-05-19 Thread Austin Govella
It was a PYTHONPATH problem. I fixed it using this tutorial: * http://emmby.blogspot.com/2008/05/installing-python-pil-on-mac-os-x-1052.html (I'm using python 2.4, so I adjusted the path accordingly.) Everything validates. Server runs with no ImageField errors, but now we get a new ImportError:

Re: Trouble installing PIL

2008-05-19 Thread Austin Govella
Still trying to get MacPorts to work... "port installed" says everything (plus more!) is installed: expat @2.0.1_0 (active) freetype @2.3.5_1 (active) gettext @0.17_3 (active) jpeg @6b_2 (active) libiconv @1.12_0+darwin_8 (active) ncurses @5.6_0 (active) ncursesw @5.6_1 (active)

Re: Trouble installing PIL

2008-05-18 Thread Brandon Taylor
Hi Austin, I followed this tutorial to install JPEG support into PIL: http://paul.annesley.cc/articles/2007/11/19/django-and-python-imaging-library-pil-on-leopard Hope this helps, Brandon On May 18, 6:22 pm, Austin Govella <[EMAIL PROTECTED]> wrote: > I used MacPorts to install jpeg (libjpeg),

Trouble installing PIL

2008-05-18 Thread Austin Govella
I used MacPorts to install jpeg (libjpeg), freetype, zlib, and then Python Imaging Library. When I validate, I get the "no PIL" error. Error: One or more models did not validate: imagetest.filetest: "image": To use ImageFields, you need to install the Python Imaging Library. Get it at