Problem PIL-1.1.7 & _imagingft
Christian Heimes
lists at cheimes.de
Thu Jun 24 09:21:41 EDT 2010
Am 24.06.2010 14:39, schrieb Michel Claveau - MVP:
> Hi!
>
> With PIL-1.1.7.win32-py2.6 and Windows 7, I have this traceback:
> raise ImportError("The _imagingft C module is not installed")
> ImportError: The _imagingft C module is not installed
>
> I tested "import _imaging" and several other things, without success.
> If I re-install PIL-1.1.6 all run OK.
>
> I found a solution:
> - install PIL-1.1.7,
> - then, copy these two files from PIL 1.1.6: _imaging.pyd & _imagingft.pyd
The _imageft.pyd DLL of PIL 1.1.7 has a erroneous dependency on the
Debug CRT. You can safely remove the dependency by editing the file with
a hex editor. Open the file on your hex editor, search for the string
"assembly" and comment out the Debug CRT. The block should look like:
<!--endency>
<dependentAssembly>
<assemblyIdentity type="win32" name="Microsoft.VC90.DebugCRT"
version="9.0.21022.8" processorArchitecture="x86"
publicKeyToken="1fc8b3b9a1e18e3b"></assemblyIdentity>
</dependentAssembly>
</dependen-->
Christian
More information about the Python-list
mailing list