[Image-SIG] Problem with PIL -Subscribe

Adeniyi Adebowale Oke Adeniyi Adebowale Oke" <oke@sask.trlabs.ca
Mon, 10 Apr 2000 12:19:29 -0600


This is a multi-part message in MIME format.

------=_NextPart_000_000F_01BFA2E7.0507B700
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Can anybody help me over there as quick as possible. I download the PIL =
and find out that i cannot use the said library correctly. The error is =
shown below.

>>> import Image
>>> im =3D Image.open('kimura.jpg')
>>> im.show()
Traceback (innermost last):
  File "<pyshell#2>", line 1, in ?
    im.show()
  File "c:\progra~1\python\py152\PIL\Image.py", line 694, in show
    _showxv(self, title, command)
  File "c:\progra~1\python\py152\PIL\Image.py", line 974, in _showxv
    file =3D self._dump(format=3Dformat)
  File "c:\progra~1\python\py152\PIL\Image.py", line 307, in _dump
    self.load()
  File "c:\progra~1\python\py152\PIL\ImageFile.py", line 125, in load
    self.load_prepare()
  File "c:\progra~1\python\py152\PIL\ImageFile.py", line 175, in =
load_prepare
    self.im =3D Image.core.new(self.mode, self.size)
  File "c:\progra~1\python\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
>>> =20

Simply, i cannot use all the image library correctly as expected.

Niyi




------=_NextPart_000_000F_01BFA2E7.0507B700
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<HTML>
<HEAD>

<META content=3Dtext/html;charset=3Diso-8859-1 =
http-equiv=3DContent-Type>
<META content=3D'"MSHTML 4.72.3110.7"' name=3DGENERATOR>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT size=3D2>Can anybody help me over there as quick as possible. =
I=20
download the PIL and find out that i cannot use the said library =
correctly. The=20
error is shown below.</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>&gt;&gt;&gt; import Image<BR>&gt;&gt;&gt; im =3D=20
Image.open('kimura.jpg')<BR>&gt;&gt;&gt; im.show()<BR>Traceback =
(innermost=20
last):<BR>&nbsp; File &quot;&lt;pyshell#2&gt;&quot;, line 1, in=20
?<BR>&nbsp;&nbsp;&nbsp; im.show()<BR>&nbsp; File=20
&quot;c:\progra~1\python\py152\PIL\Image.py&quot;, line 694, in=20
show<BR>&nbsp;&nbsp;&nbsp; _showxv(self, title, command)<BR>&nbsp; File=20
&quot;c:\progra~1\python\py152\PIL\Image.py&quot;, line 974, in=20
_showxv<BR>&nbsp;&nbsp;&nbsp; file =3D =
self._dump(format=3Dformat)<BR>&nbsp; File=20
&quot;c:\progra~1\python\py152\PIL\Image.py&quot;, line 307, in=20
_dump<BR>&nbsp;&nbsp;&nbsp; self.load()<BR>&nbsp; File=20
&quot;c:\progra~1\python\py152\PIL\ImageFile.py&quot;, line 125, in=20
load<BR>&nbsp;&nbsp;&nbsp; self.load_prepare()<BR>&nbsp; File=20
&quot;c:\progra~1\python\py152\PIL\ImageFile.py&quot;, line 175, in=20
load_prepare<BR>&nbsp;&nbsp;&nbsp; self.im =3D Image.core.new(self.mode, =

self.size)<BR>&nbsp; File =
&quot;c:\progra~1\python\py152\PIL\Image.py&quot;,=20
line 40, in __getattr__<BR>&nbsp;&nbsp;&nbsp; raise ImportError, =
&quot;The=20
_imaging C module is not installed&quot;<BR>ImportError: The _imaging C =
module=20
is not installed<BR>&gt;&gt;&gt;&nbsp; </FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>Simply, i cannot use all the image library correctly =
as=20
expected.</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>Niyi</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV></BODY></HTML>

------=_NextPart_000_000F_01BFA2E7.0507B700--