Re: PIL on 10.6 = PAIN

2010-09-03 Thread shofty
I hope I'm not massively missing the point here, but once you set virtualenv up, just use pip to install PIL in there. it works perfect for me every time. Matt -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to

Re: PIL on 10.6 = PAIN

2010-09-02 Thread lukaszb
Hi, I'd strongly advise to try homebrew instead of macports. You can find it here: http://github.com/mxcl/homebrew . After installation do: brew up && brew install jpeg and install PIL as usual. Since I needed freetype support I had to update PIL's setup.py FEETYPE_ROOT: FREETYPE_ROOT = libinclude(

Re: PIL on 10.6 = PAIN

2010-09-01 Thread keynesiandreamer
Well last night I started working on removing all traces of PIL and libjpeg as well as the install instructions from Andrews link (Thansk Andrew!) If there was a problem to encounter I seemed to hit it... :-( It all started when Git would not unzip, I finally got that with the xjvf flag I believe

Re: PIL on 10.6 = PAIN

2010-09-01 Thread Mathieu Leduc-Hamel
This is because you should not use the Python interpreter from you're Mac installation. Are you using buildout ? VirtualEnv? or nothing ? Buildout: /opt/local/bin/python2.6 bootstrap.py Virtualenv: virtualenv -p /opt/local/bin/python2.6 Nothing: /opt/local/bin/python2.6 manage.py runserver

Re: PIL on 10.6 = PAIN

2010-08-31 Thread Trent Mick
You could try ActivePython: http://www.activestate.com/activepython/downloads Then {{{ $ pypm install pil The following packages will be installed to ~/.local (2.6): pil-1.1.7-1 Get: [pypm-free.activestate.com] pil 1.1.7-1 Installing pil-1.1.7-1 Fixing script ~/.local/bin/pilconvert.py Fixin

Re: PIL on 10.6 = PAIN

2010-08-31 Thread keynesiandreamer
So I tried the Macports option and it started to look good, but then I got: ---> Installing py26-pil @1.1.7_1 ---> Activating py26-pil @1.1.7_1 Error: Target org.macports.activate returned: Image error: /opt/local/ Library/Frameworks/Python.framework/Versions/2.6/bin/pilconvert.py already exists

Re: PIL on 10.6 = PAIN

2010-08-31 Thread Andrew Frankel
I suffered for a couple of days trying to install PIL on snow leopard myself just a few weeks ago. I'm on 10.6.4 as well, although I'm using python 2.7. But most of the hurt is related to libjpeg, so that shouldn't matter. I eventually got everything running by following the directions posted here

Re: PIL on 10.6 = PAIN

2010-08-31 Thread keynesiandreamer
Thanks Bill and Mathieu! I will try the Mac port option first, in fact I did look at it last night probably around 1am or so... I treied rebuilding the virtual env I was using as well just to verify, but the problem seem higher up the stream and Bill indicated. I will take a look for the ld.conf

Re: PIL on 10.6 = PAIN

2010-08-31 Thread Mathieu Leduc-Hamel
To work with PIL and other librairies a little bit weird and difficult to install the best way is to install Macport and after that: port install py26-pil and you'll need to use the python of the macport installation: $ /opt/local/bin/python2.6 It's the samething on linux, i'm alway using the P

Re: PIL on 10.6 = PAIN

2010-08-31 Thread Bill Freeman
This sounds more like libjpeg isn't on the library load path, a system, rather than python, setting. I haven't done this with a Mac, but PIL has been troublesome on *nix servers for us as well. The common problems for us don't sound like your problem. [Some versions of PIL install as "Imaging" r

PIL on 10.6 = PAIN

2010-08-31 Thread keynesiandreamer
Howdy! I have been working with Django/Pinax on a 10.6.4 system with python 2.6.6 and have had no luck getting PIL to work. I have looked through about 10-15 paged including ones listed on this group with no results. Currently the error I am getting is: The _imaging C module is not installed I ha