error:"_imaging C module is not installed"

Rodney Loisel rloisel at helicon.net
Wed Mar 20 17:03:16 EST 2002


Fredrik Lundh wrote:

> Rodney Loisel wrote:
>
> > Have 2 files (_imaging.pyd and _imagingtk.pyd) which I assume are the
> > C imagaging modules and have put copies of them in all the directories
> > that they might be accessed in
>
> for some more clues, try this:
>
> c:> python -v
> Python 2.2.1c1 ...
> >>> import _imaging
>
> and see what happens.
>
> </F>

C:\WINDOWS\Desktop>python -v
# C:\PYTHON22\lib\site.pyc matches C:\PYTHON22\lib\site.py
import site # precompiled from C:\PYTHON22\lib\site.pyc
# C:\PYTHON22\lib\os.pyc matches C:\PYTHON22\lib\os.py
import os # precompiled from C:\PYTHON22\lib\os.pyc
import nt # builtin
# C:\PYTHON22\lib\ntpath.pyc matches C:\PYTHON22\lib\ntpath.py
import ntpath # precompiled from C:\PYTHON22\lib\ntpath.pyc
# C:\PYTHON22\lib\stat.pyc matches C:\PYTHON22\lib\stat.py
import stat # precompiled from C:\PYTHON22\lib\stat.pyc
# C:\PYTHON22\lib\UserDict.pyc matches C:\PYTHON22\lib\UserDict.py
import UserDict # precompiled from C:\PYTHON22\lib\UserDict.pyc
# C:\PYTHON22\lib\copy_reg.pyc matches C:\PYTHON22\lib\copy_reg.py
import copy_reg # precompiled from C:\PYTHON22\lib\copy_reg.pyc
# C:\PYTHON22\lib\types.pyc matches C:\PYTHON22\lib\types.py
import types # precompiled from C:\PYTHON22\lib\types.pyc
# C:\PYTHON22\lib\__future__.pyc matches C:\PYTHON22\lib\__future__.py
import __future__ # precompiled from C:\PYTHON22\lib\__future__.pyc
Python 2.2.1c1 (#32, Mar 18 2002, 13:23:09) [MSC 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.

>>> import _imaging
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
ImportError: DLL load failed: One of the library files needed to run this
application cannot be found.
>>>

rod loisel




More information about the Python-list mailing list