[Image-SIG] Import _imaging problems

Santillo Piergiorgio santillo at mpsgr.it
Tue Jan 11 11:08:03 CET 2005


I made all the things descripted in the FAQ page. I've installed Python 2.3.4 on a WINDOWS 2000 system.

>>> import _imaging
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
ImportError: DLL load failed: The specified module could not be found.

This is the result of the test:

>>> import Image
# C:\Python23\lib\site-packages\PIL\Image.pyc matches C:\Python23\lib\site-packa
ges\PIL\Image.py
import Image # precompiled from C:\Python23\lib\site-packages\PIL\Image.pyc
# C:\Python23\lib\lib-tk\FixTk.pyc matches C:\Python23\lib\lib-tk\FixTk.py
import FixTk # precompiled from C:\Python23\lib\lib-tk\FixTk.pyc
import _tkinter # dynamically loaded from C:\Python23\DLLs\_tkinter.pyd
# C:\Python23\lib\string.pyc matches C:\Python23\lib\string.py
import string # precompiled from C:\Python23\lib\string.pyc
import strop # builtin
# C:\Python23\lib\site-packages\PIL\ImagePalette.pyc matches C:\Python23\lib\sit
e-packages\PIL\ImagePalette.py
import ImagePalette # precompiled from C:\Python23\lib\site-packages\PIL\ImagePa
lette.pyc
import array # builtin
import operator # builtin
>>>

As you can see, the import Image command doesn't import the _imaging module!!

This is sys.path variable

>>> import sys
>>> print sys.path
['', 'C:\\WINNT\\system32\\python23.zip', 'U:\\', 'C:\\Python23\\DLLs', 'C:\\Pyt
hon23\\lib', 'C:\\Python23\\lib\\plat-win', 'C:\\Python23\\lib\\lib-tk', 'C:\\Py
thon23', 'C:\\Python23\\lib\\site-packages', 'C:\\Python23\\lib\\site-packages\\
PIL']
>>>

PIL is installed correctly installed under C:\Python23\lib\site-packages\PIL.

Any suggestions??



Piergiorgio Santillo

Monte Paschi Asset Management SGR S.p.A.
Via San Vittore, 37 - 20123 Milano, Italia
Tel.: +39 02 43828 518 


"Le informazioni trasmesse sono da intendersi per esclusivo uso del destinatario e possono contenere informazioni e materiale confidenziale e privilegiato. Qualsiasi correzione, inoltro o divulgazione in qualsiasi forma e modo anche a tenore generale è del tutto proibita. Se avete ricevuto per errore il presente messaggio, cortesemente contattate subito il mittente e cancellate da qualsiasi supporto il messaggio e gli allegati a voi giunti. Tutti gli usi illegali saranno perseguiti penalmente e civilmente da Monte Paschi Asset Management SGR S.p.A."

"The informations transmitted are intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination, taking of any action in reliance upon, or other general use are strictly prohibited. If you received this in error, please contact immediately the sender and delete the material from any computer. All the Illegal use will be persecuted by Monte Paschi Asset Management SGR S.p.A."




More information about the Image-SIG mailing list