Inkscape.org
Using Inkscape with Other Programs Where is "Simple Inkscape Scripting..." and how do I set the Python environment?
  1. #1
    bitrat bitrat @bitrat
    *

    Hi,

    I'm using an Inkscape AppImage v1.0 (4035a4f, 2020-05-01) and I'd like to experiment with Python scripting. 

    I'd like to start with an interactive prompt, and this page says I can get one at Extensions → Render → Simple Inkscape Scripting…

    On my version this menu item doesn't exist.  Has it moved or is it no longer supported?

     

    UPDATE:

    I found the script here.

    However, I can't run the script...

    Traceback (most recent call last):
      File "simple_inkscape_scripting.py", line 33, in <module>
        import PIL.Image
    ModuleNotFoundError: No module named 'PIL'

    How do I set the Python environment? (I've added a separate topic for this here.)

     

    Cheers,

    bitrat

     

     

     

     

     

Inkscape Inkscape.org Inkscape Forum Using Inkscape with Other Programs Where is "Simple Inkscape Scripting..." and how do I set the Python environment?