The binary version of web2py includes its own Python interpreter, so it 
doesn't use your machine's Python and doesn't see any modules installed 
there. If you run web2py from source, you can take advantage of everything 
in your machine's Python installation.

Anthony

On Tuesday, September 4, 2012 11:15:22 AM UTC-4, BlueShadow wrote:
>
> the binary
>
> On Tuesday, September 4, 2012 4:42:21 PM UTC+2, Marin Pranjić wrote:
>>
>> Do you use web2py source code or windows binary?
>>
>> On Tue, Sep 4, 2012 at 4:33 PM, BlueShadow <kevin....@gmail.com> wrote:
>>
>>> Hi,
>>> I like to import the PIL library in My web2py application. I did install 
>>> it under my windows mashine. when I open the Python(idle) guy i can write 
>>> import PIL withot an error.
>>>  but using this code in web2py:
>>>  try:
>>>         from PIL import Image
>>>     except:
>>>         print "Error while Importing PIL library"
>>> raises the exception.
>>> what did I do wrong?
>>> Can I Integrate PIL into the application so the Application ships with 
>>> it?
>>> Thanks
>>>
>>> -- 
>>>  
>>>  
>>>  
>>>
>>
>>

-- 



Reply via email to