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 Ma

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 in

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 latte

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 req

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 > 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 > > >

Re: [web2py] Re: No module named PIL

2013-05-24 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 insta

Re: [web2py] Re: No module named PIL

2013-05-24 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

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 > > escribió: > > I'll try to install it but can you please tell where and how

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 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, Anthony wrote

[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

[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 wrote: > On Jun 12, 6:27 am, Kenneth wrote: > > > Thank you Richard for th

[web2py] Re: No module named PIL

2010-06-12 Thread Yarko Tymciurak
On Jun 12, 6:27 am, Kenneth 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 different. If you installed

[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 wrote: > you likely installed PIL from source into a directory not in your > Python path

[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 wrote: > Hello, > > I´m trying to create thumbnails from images uploaded to my > application. I´ve found a c