turnkey error - any help appreciated

69 views
Skip to first unread message

timne0

unread,
Oct 23, 2016, 5:08:45 PM10/23/16
to Opensource Laser
using the turnkey inkscape demo cutting space, I was getting errors - so I drew a rectangle and found I was still having problems.  This is the error:

Traceback (most recent call last):
  File "turnkeylaser.py", line 1420, in <module>
    e.affect()
  File "C:\Program Files\Inkscape\share\extensions\inkex.py", line 268, in affect
    self.effect()
  File "turnkeylaser.py", line 1391, in effect
    data = self.effect_curve(selected)
  File "turnkeylaser.py", line 1177, in effect_curve
    for objectData in compile_paths(self, node, trans):
  File "turnkeylaser.py", line 997, in compile_paths
    im = Image.open(filename).transpose(Image.FLIP_TOP_BOTTOM).convert('L')
  File "C:\Program Files\Inkscape\python\lib\site-packages\PIL\Image.py", line 1637, in transpose
    self.load()
  File "C:\Program Files\Inkscape\python\lib\site-packages\PIL\ImageFile.py", line 155, in load
    self.load_prepare()
  File "C:\Program Files\Inkscape\python\lib\site-packages\PIL\PngImagePlugin.py", line 339, in load_prepare
    ImageFile.ImageFile.load_prepare(self)
  File "C:\Program Files\Inkscape\python\lib\site-packages\PIL\ImageFile.py", line 223, in load_prepare
    self.im = Image.core.new(self.mode, self.size)
  File "C:\Program Files\Inkscape\python\lib\site-packages\PIL\Image.py", line 36, in __getattr__
    raise ImportError("The _imaging C module is not installed")
ImportError: The _imaging C module is not installed

I'm using inkscape .91, windows 10, latest turnkey plugin.  Is the python not installed correctly?

timne0

unread,
Oct 23, 2016, 5:17:20 PM10/23/16
to Opensource Laser
I redid all the steps, works fine now :)

Robert Walton

unread,
Feb 9, 2017, 12:42:04 PM2/9/17
to Opensource Laser
The problem is that the _imaging Python module is not installed. To get a working Inkscape that supports the TurnkeyLaser extension on Windows requires some major effort, including recompiling Python. I have some lengthy instructions for how to do that --  reply with your email and I'll send them to you.
-- 
Bob Walton
Reply all
Reply to author
Forward
0 new messages