I experienced an issue with installing PIL v.1.1.7 for py2.6 on mac osx
10.6.  The egg on pypi was mis-organized.  It installed fine but I would
receive errors when I tried to import PIL.  It was easily rectified by
adding a PIL directory below the installed egg directory.  Maybe you are
experiencing the same problem?

Here is what PIL looked like straight from pypi:

Under the following directory was only one directory, EGG-INFO, and then all
of the *.py files that make up the PIL library.

site-packages/PIL-1.1.7-py2.6-macosx-10.6-universal.egg/

But for the importer to properly recognize the package it should look like
the following with all the *.py files in the PIL directory:

site-packages/PIL-1.1.7-py2.6-macosx-10.6-universal.egg/
    /EGG-INFO
    /PIL

Therefore, just create a PIL directory and move all the .py files there.

Cheers

On 24 June 2010 11:53, Krishnakant Mane <[email protected]> wrote:

> Hello,
> This might be an issue related to the virtual environment I don't know.
> In that case it is off topic.
> But some how once I install Pylons inside a virtual environment, I can't
> install reportlab and pil using easy_install.
> Actually I need these packages for generating reports for my web
> application in pdf.
>
> Can any one guess what the problem could be?
>
> Happy hacking.
> Krishnakant.
>
> --
> You received this message because you are subscribed to the Google Groups
> "pylons-discuss" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<pylons-discuss%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/pylons-discuss?hl=en.
>
>


-- 
Never take life seriously. Nobody gets out alive anyway.

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.

Reply via email to