Note, you might consider running Python 2.7 rather than Python 2.5 (web2py 
runs fine with 2.7).

On Monday, January 9, 2012 2:30:07 PM UTC-5, Anthony wrote:
>
> Are you running the web2py binary for Windows? If so, switch to running 
> the source code version of web2py if you want to make use of your own 
> Python installation. The web2py binary comes with its own Python 
> interpreter, so it won't use your machine's Python installation (with PIL). 
> It's just as easy to run web2py from source if you've already got Python 
> installed.
>
> Anthony
>
> On Monday, January 9, 2012 2:06:21 PM UTC-5, mweissen wrote:
>>
>> Hi,
>>
>> maybe a simple question, but I did not find the answer for some hours :-(
>>
>> I am using Web2Py 1.99.4 on a Windows 7 computer.
>> Reportlabs works fine, but I need PIL for pictures in pdf-files.
>>
>>    - I have tried to install the "Python Image Library1.1.7 for Python 
>>    2.5". But the installer asks for Python 2.5 and cannot find it in the 
>>    registry.
>>    - Next try: I have installed Python 2.5 and afterwards PIL 1.1.7. I 
>>    copied the PIL directory from \Python25\Lib\site-packages  to 
>>    \web2py\site-packages. No success! 
>>    - In THE BOOK (4th edition) I have found in the index "PIL, 399". 
>>    But: nothing about PIL on page 399...
>>
>> I have understood that it would be better to use a Linux installation. 
>> But I think there must be a solution for Windows.
>> Any ideas?
>>
>> Regards, Martin
>>
>>  

Reply via email to