[Pythonmac-SIG] PIL - image.show() problem on 10.2.8 in X11

Gavin Hall gavhall at mac.com
Thu Feb 24 17:31:35 CET 2005


Hi guys,

Haven't  been on this long at all so I can't gauge the standard.  Hope 
I'm not being too much of a newbie.  I just wanted to no if anyone has 
got show() from PIL Image to work assuming that python and PIL and xv 
have been installed via fink and the script is being run in an X11 
terminal window:

Traceback (most recent call last):
   File "proto.py", line 27, in ?
     img.show()
   File "/sw/lib/python2.2/site-packages/PIL/Image.py", line 749, in show
     _showxv(self, title, command)
   File "/sw/lib/python2.2/site-packages/PIL/Image.py", line 1042, in 
_showxv
     file = self._dump(format=format)
   File "/sw/lib/python2.2/site-packages/PIL/Image.py", line 333, in 
_dump
     self.load()
   File "/sw/lib/python2.2/site-packages/PIL/ImageFile.py", line 117, in 
load
     self.map = Image.core.map(self.filename)
   File "/sw/lib/python2.2/site-packages/PIL/Image.py", line 37, in 
__getattr__
     raise ImportError, "The _imaging C module is not installed"
ImportError: The _imaging C module is not installed

Haven't a clue what's going on and any help would be appreciated.

Thanks,

Gav.



More information about the Pythonmac-SIG mailing list