[Image-SIG] problems with import
=?gb2312?q?=CA=BF=B7=BC=20=CD=F5?=
wangshifang_2008 at yahoo.com.cn
Wed Jan 7 19:42:15 EST 2004
Hi:
when I type
1 import _imaging
Traceback (most recent call last):
File "<stdin>", line 1, in ?
ImportError: DLL load failed: ÕÒ²»µ½Ö¸¶¨µÄÄ£¿é¡£
2 import Image
im = Image.open("c:\powered1.jpg")
im.show()
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "E:\PYTHON22\Lib\site-packages\PIL\Image.py", line 1192, in show
_showxv(self, title, command)
File "E:\PYTHON22\Lib\site-packages\PIL\Image.py", line 1739, in _showxv
file = self._dump(format=format)
File "E:\PYTHON22\Lib\site-packages\PIL\Image.py", line 410, in _dump
self.load()
File "E:\PYTHON22\Lib\site-packages\PIL\ImageFile.py", line 151, in load
self.load_prepare()
File "E:\PYTHON22\Lib\site-packages\PIL\ImageFile.py", line 206, in load_prepa
re
self.im = Image.core.new(self.mode, self.size)
File "E:\PYTHON22\Lib\site-packages\PIL\Image.py", line 39, in __getattr__
raise ImportError("The _imaging C module is not installed")
ImportError: The _imaging C module is not installed
3.sys.path:
['', 'E:\\PYTHON22\\lib\\site-packages\\Pythonwin', 'E:\\PYTHON22\\lib\\site-pac
kages\\win32', 'E:\\PYTHON22\\lib\\site-packages\\win32\\lib', 'E:\\PYTHON22\\li
b\\site-packages', 'E:\\Python22\\DLLs', 'E:\\Python22\\lib', 'E:\\Python22\\lib
\\lib-tk', 'E:\\Python22', 'E:\\Python22\\lib\\site-packages\\Numeric', 'E:\\Pyt
hon22\\lib\\site-packages\\PIL']
my _imaging.pyd is under : E:\Python22\Lib\site-packages\PIL
what should i do?
Thanks
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/image-sig/attachments/20040108/9b9c162d/attachment.html
More information about the Image-SIG
mailing list