Re: [BangPypers] Imaging will not compile

2010-08-04 Thread Kenneth Gonsalves
On Wed, 2010-08-04 at 20:08 +0530, Vinay Shastry wrote: > On 4 August 2010 16:30, Noufal Ibrahim wrote: > > There isn't a PIL or an Imaging top level module in the PIL package. > > http://www.pythonware.com/library/pil/handbook/ > > > > If importing "Image" works, I think it's installed properly.

Re: [BangPypers] Imaging will not compile

2010-08-04 Thread Noufal Ibrahim
Vinay Shastry writes: > On 4 August 2010 16:30, Noufal Ibrahim wrote: >> There isn't a PIL or an Imaging top level module in the PIL package. >> http://www.pythonware.com/library/pil/handbook/ >> >> If importing "Image" works, I think it's installed properly. > > > A lot of 3rd party apps/module

Re: [BangPypers] Imaging will not compile

2010-08-04 Thread Vinay Shastry
On 4 August 2010 16:30, Noufal Ibrahim wrote: > There isn't a PIL or an Imaging top level module in the PIL package. > http://www.pythonware.com/library/pil/handbook/ > > If importing "Image" works, I think it's installed properly. A lot of 3rd party apps/modules (plone for example) do "from PIL

Re: [BangPypers] Imaging will not compile

2010-08-04 Thread Noufal Ibrahim
law...@au-kbc.org writes: >> On 4 August 2010 13:00, Kenneth Gonsalves wrote: >>> >>> thanks - I am an idiot! easy_install worked, I see the egg in >>> site-packages, >>> but import PIL, or import Imaging both fail. >> >> Does "import Image" work? >> > > yes import Image works [...] There isn't

Re: [BangPypers] Imaging will not compile

2010-08-04 Thread lawgon
> On 4 August 2010 13:00, Kenneth Gonsalves wrote: >> >> thanks - I am an idiot! easy_install worked, I see the egg in >> site-packages, >> but import PIL, or import Imaging both fail. > > Does "import Image" work? > yes import Image works ___ BangPyp

Re: [BangPypers] Imaging will not compile

2010-08-04 Thread Vinay Shastry
On 4 August 2010 13:00, Kenneth Gonsalves wrote: > > thanks - I am an idiot! easy_install worked, I see the egg in site-packages, > but import PIL, or import Imaging both fail. Does "import Image" work? If yes, easy_install and PIL don't work well with each other. For some reason, PIL module is

Re: [BangPypers] Imaging will not compile

2010-08-04 Thread Kenneth Gonsalves
On Wednesday 04 August 2010 09:18:13 akm wrote: > > i686-2.6/_imaging.o > > _imaging.c:76:20: error: Python.h: No such file or directory > > This error occurs due to absence of Python development libraries. > > $ sudo apt-get install python2.5-dev > > This will install development headers and no

Re: [BangPypers] Imaging will not compile

2010-08-03 Thread Noufal Ibrahim
Kenneth Gonsalves writes: [...] > _imaging.c:76:20: error: Python.h: No such file or directory [...] This looks like your problem. You need the development libraries for the Python version you're using. They're necessary to compile C extensions. If you've installed from the repo., the package

Re: [BangPypers] Imaging will not compile

2010-08-03 Thread akm
> I have a lenny serverr with python2.5.x - recently setup virtualenv with > python 2.6. I was trying to install PIL, and whether I use easy_install or use > setup.py, I get the same error. The error message is a bit long, but maybe it > will help to figure out what is wrong: > > (env)law...@au-kbc

Re: [BangPypers] Imaging will not compile

2010-08-03 Thread Senthil Kumaran
On Wed, Aug 04, 2010 at 07:29:15AM +0530, Kenneth Gonsalves wrote: > hi, > > I have a lenny serverr with python2.5.x - recently setup virtualenv with > python 2.6. I was trying to install PIL, and whether I use easy_install or > use > setup.py, I get the same error. The error message is a bit l

[BangPypers] Imaging will not compile

2010-08-03 Thread Kenneth Gonsalves
hi, I have a lenny serverr with python2.5.x - recently setup virtualenv with python 2.6. I was trying to install PIL, and whether I use easy_install or use setup.py, I get the same error. The error message is a bit long, but maybe it will help to figure out what is wrong: (env)law...@au-kbc:~/