
Lorenzo Luengo <loluengo@...360...> writes:
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.
We have this same issue with a laser exporting script I developed. As such in my instructions I've got people to install python seperately which has caused numerous headaches for people.
If this could be fixed it would be a big relief to some of the users of my plugin/extension.