
Hi everyone,
While trying to use the PIL library bundled with the python installation inside the Inkscape directory, for developing a new extension, I got the following error:
import _imaging
Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: DLL load failed: The specified module could not be found.
Even though the _imaging.pyd file was present, I was unable to load it into the python interpreter. Then I found that even I downloaded the x64 installer for Inkscape, the bundled python version was the 32-bit one. After tweaking the windows registry (to make the installer point to the bundled python directory) I managed to install the x64 version of PIL, still without success because the python interpreter was 32-bit.
After forcing the installation of python 2.6 64-bit version over the bundled version, I had to reinstall on this python environment the PIL and lxml libraries, and my plugin finally was able to use PIL.
Should this issue be fixed? I mean bundling python 64bit (+libraries) with Inkscape 64bit installer.