Re: [web2py] Re: No module named PIL

2013-05-26 Thread smoggy
In my code i use: import Image On Saturday, May 25, 2013 10:11:38 PM UTC+1, Massimo Di Pierro wrote: web2py source yes. PIL you do not install from source on windows because it includes binary modules that must be compiler. You must get the binary module. On Saturday, 25 May

Re: [web2py] Re: No module named PIL

2013-05-25 Thread Massimo Di Pierro
You don't. In windows things are done the old fashion way. You download the installer: http://effbot.org/downloads/PIL-1.1.7.win32-py2.7.exe and run it. Then you pray it this is the right version. On Saturday, 25 May 2013 00:56:07 UTC-5, Alex Glaros wrote: I have a windows machine. Where do I

Re: [web2py] Re: No module named PIL

2013-05-25 Thread Alex Glaros
error message said: python2.7 required, but was not found in registry tried all versions down to 2.4 is there a work-around? thanks, Alex On Friday, May 24, 2013 11:27:43 PM UTC-7, Massimo Di Pierro wrote: You don't. In windows things are done the old fashion way. You download the

Re: [web2py] Re: No module named PIL

2013-05-25 Thread António Ramos
you can install python setup tools and then use easy_install pil from the script folder in your python folder 2013/5/25 Alex Glaros alexgla...@gmail.com error message said: python2.7 required, but was not found in registry tried all versions down to 2.4 is there a work-around? thanks,

Re: [web2py] Re: No module named PIL

2013-05-25 Thread Anthony
Do you have Python installed on your machine, or are you running from the web2py Windows binary? If that latter, try installing Python on your machine and run from web2py source instead. Anthony On Saturday, May 25, 2013 2:44:15 AM UTC-4, Alex Glaros wrote: error message said: python2.7

Re: [web2py] Re: No module named PIL

2013-05-25 Thread Alex Glaros
Right, am running from the web2py Windows binary. So I will have to install Python and w2p from source thanks! Alex On Saturday, May 25, 2013 4:53:23 AM UTC-7, Anthony wrote: Do you have Python installed on your machine, or are you running from the web2py Windows binary? If that latter,

Re: [web2py] Re: No module named PIL

2013-05-25 Thread Massimo Di Pierro
web2py source yes. PIL you do not install from source on windows because it includes binary modules that must be compiler. You must get the binary module. On Saturday, 25 May 2013 16:04:25 UTC-5, Alex Glaros wrote: Right, am running from the web2py Windows binary. So I will have to

[web2py] Re: No module named PIL

2013-05-24 Thread Alex Glaros
I'll try to install it but can you please tell where and how? I can't find where Python is in the web2py folders. thanks, Alex On Friday, May 24, 2013 9:31:02 PM UTC-7, Anthony wrote: Sounds like you don't have PIL installed. -- --- You received this message because you are subscribed

Re: [web2py] Re: No module named PIL

2013-05-24 Thread Fernando Villarroel
pip install PIL Enviado desde mi iPhone El 25-05-2013, a las 0:35, Alex Glaros alexgla...@gmail.com escribió: I'll try to install it but can you please tell where and how? I can't find where Python is in the web2py folders. thanks, Alex On Friday, May 24, 2013 9:31:02 PM UTC-7,

Re: [web2py] Re: No module named PIL

2013-05-24 Thread Alex Glaros
I have a windows machine. Where do I type pip install PIL? On Friday, May 24, 2013 10:25:58 PM UTC-7, visuallinux wrote: pip install PIL Enviado desde mi iPhone El 25-05-2013, a las 0:35, Alex Glaros alexg...@gmail.com javascript: escribió: I'll try to install it but can you please

[web2py] Re: No module named PIL

2010-06-12 Thread Richard
you likely installed PIL from source into a directory not in your Python path. From the command line you can use PIL with: $ python from PIL import Image On Jun 12, 8:50 pm, Kenneth kenneth.t.lundst...@gmail.com wrote: Hello, I´m trying to create thumbnails from images uploaded to my

[web2py] Re: No module named PIL

2010-06-12 Thread Kenneth
Thank you Richard for the fast reply, I tested with python and from PIL import Image and the only result was a new line, so I´m guess python finds PIL but not web2py. Kenneth On Jun 12, 1:59 pm, Richard richar...@gmail.com wrote: you likely installed PIL from source into a directory not in

[web2py] Re: No module named PIL

2010-06-12 Thread Yarko Tymciurak
On Jun 12, 6:27 am, Kenneth kenneth.t.lundst...@gmail.com wrote: Thank you Richard for the fast reply, I tested with python and from PIL import Image and the only result was a new line, so I´m guess python finds PIL but not web2py. Kenneth - This means your two Python environments are

[web2py] Re: No module named PIL

2010-06-12 Thread Kenneth
You were correct Yarko, from command line I was using python 2.4.3 and web2py used python 2.5.1. So I installed PIL again now for python 2.5 and now it is working. Thank You. Kenneth On 12 kesä, 16:19, Yarko Tymciurak resultsinsoftw...@gmail.com wrote: On Jun 12, 6:27 am, Kenneth