Python Imaging Library and Windows HELP!

Jeffrey Drake codebert9 at users.sourceforge.net
Tue Jan 2 01:56:24 EST 2001


One other note, I am a beginner with python, just not beginning with coding.

"Jeffrey Drake" <codebert9 at users.sourceforge.net> wrote in message
news:cXe46.16108$n%.820749 at news20.bellglobal.com...
> I just downloaded and installed the Python  Imaging Libary for windows,
and
> it basically has a set of py files, a dll. There is absolutely no
> documentation of what to do with this stuff.
>
> I added the directory to the pythonpath environment variable, copied the
> .dll to the /windows/system dir and then when running a program that uses
> it -
>
> ----------
> C:\Python20\OpenGL\nehe>python lesson6.py
> Hit ESC key to quit.
> Traceback (most recent call last):
>   File "lesson6.py", line 225, in ?
>     main()
>   File "lesson6.py", line 218, in main
>     InitGL(640, 480)
>   File "lesson6.py", line 77, in InitGL
>     LoadTextures()
>   File "lesson6.py", line 58, in LoadTextures
>     image = image.tostring("raw", "RGBX", 0, -1)
>   File "c:\python20\py152\pil\Image.py", line 325, in tostring
>     self.load()
>   File "c:\python20\py152\pil\ImageFile.py", line 125, in load
>     self.load_prepare()
>   File "c:\python20\py152\pil\ImageFile.py", line 175, in load_prepare
>     self.im = Image.core.new(self.mode, self.size)
>   File "c:\python20\py152\pil\Image.py", line 40, in __getattr__
>     raise ImportError, "The _imaging C module is not installed"
> ImportError: The _imaging C module is not installed
>
> C:\Python20\OpenGL\nehe>
>
> -------
> Nobody in EFnet/irc.openprojects.net:#python seem to be able to help with
> this. Most of them are on linux, though.
>
> If anyone can help me with this I would really appreciate it.
>
> Regards,
> Jeffrey Drake
> feel free to email me
>
>





More information about the Python-list mailing list