[Tutor] Can't install latest PIL

Jim Mooney cybervigilante at gmail.com
Fri May 17 09:23:50 CEST 2013


> 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 image" -- but actually it has to be "from PIL import
> Image".

Yeah, I fixed that but it still blew a fuse. Going back to 32 bit
fixed everything.

from ** import ** just sounds backward to me, so I'll get it wrong
until I get it right.

Actually, it is backward by standard English - a design flub ;')

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.

Jim


More information about the Tutor mailing list