Re: [Tutor] Can't install latest PIL

2013-05-17 Thread eryksun
On Fri, May 17, 2013 at 3:23 AM, Jim Mooney wrote: > BTW, I noticed that Msoft Visual Studio has Python. Does that mean I > could made a standalone Win executable with Python, or would a user > still need the Py interpreter installed? It would be nice if you could > make an exe. Are you referring

Re: [Tutor] Can't install latest PIL

2013-05-17 Thread Jim Mooney
> If you see a syntax error, that means your code could not be compiled. > Python's parser doesn't grok "import image from pil". In natural > language we have the freedom to swap the order of clauses, but > programming languages are generally more rigid. The correct order is > "from pil import imag

Re: [Tutor] Can't install latest PIL

2013-05-16 Thread eryksun
On Thu, May 16, 2013 at 6:12 PM, Jim Mooney wrote: > I tried "import image from pil" and got the following error: > SyntaxError invalid syntax (python_init.py, line 1) If you see a syntax error, that means your code could not be compiled. Python's parser doesn't grok "import image from pil". In

Re: [Tutor] Can't install latest PIL

2013-05-16 Thread Jim Mooney
On 16 May 2013 16:11, James Reynolds wrote: > You may want to consider pillow. Oil hasn't been maintained in some time. Actually, I installed Pillow. But then I deleted everything and started over with 32 bit. I got greedy figuring I'd get the fastest Py with 64 bit, but there are too many kludge

Re: [Tutor] Can't install latest PIL

2013-05-16 Thread James Reynolds
You may want to consider pillow. Oil hasn't been maintained in some time. On May 16, 2013 6:12 PM, "Jim Mooney" wrote: > Make sure you have the correct architecture. The builds from > PythonWare are 32-bit. Christoph Gohlke has 64-bit builds here: > > http://www.lfd.uci.edu/~gohlke/pythonlibs/#p

Re: [Tutor] Can't install latest PIL

2013-05-16 Thread Jim Mooney
Make sure you have the correct architecture. The builds from PythonWare are 32-bit. Christoph Gohlke has 64-bit builds here: http://www.lfd.uci.edu/~gohlke/pythonlibs/#pil == Okay, I installed the 64 bit for Py 2.7, it installed, I see PIL directory in Site-Packages. (Actually, it's the Pillow f

Re: [Tutor] Can't install latest PIL

2013-05-16 Thread Walter Prins
Hi, On 16 May 2013 07:12, Jim Mooney wrote: > Okay, I'm trying to install the latest PIL on win 7. It claims Python > 2.7 was not found in the registry, although it's installed, on a path, > and works fine. The install box lets you type in a directory but won't > accept typing. I'm stumped. A

Re: [Tutor] Can't install latest PIL

2013-05-16 Thread eryksun
On Thu, May 16, 2013 at 2:12 AM, Jim Mooney wrote: > Okay, I'm trying to install the latest PIL on win 7. It claims Python > 2.7 was not found in the registry, although it's installed, on a path, > and works fine. The install box lets you type in a directory but won't > accept typing. I'm stumped.

[Tutor] Can't install latest PIL

2013-05-15 Thread Jim Mooney
Okay, I'm trying to install the latest PIL on win 7. It claims Python 2.7 was not found in the registry, although it's installed, on a path, and works fine. The install box lets you type in a directory but won't accept typing. I'm stumped. I guess the way around this is to know what I have to put