You need to log in to create posts and topics.

Inkscape's Python gives you issues

Inkscape comes with Python as part of it's installation. In most cases this works well but on one of my Windows laptop, it gave me an error saying that PySerial was missing.

Adafruit has a nice and succinct description how to install this, way better than I can describe it: here it is https://learn.adafruit.com/arduino-lesson-17-email-sending-movement-detector/installing-python-and-pyserial


Cheers, Paul awesome.tech

The current version (2/8/2019) of the mini-gerbil plugins, specifically the laser cut plugin, throws an error in Inkscape. The plugin calls for importing the svgpathtools library which isn't included in Inkscape's python installation. The version of  Inkscape that I have installed is 32 bit, version 0.92.0.

Also, I have a question about installing the mini-gerbil plugins. The way I have installed the plugins was first install the Beta 7 plugins then install the mini-gerbil plugins over them (i.e., replacing any of the same named plugins from Beta 7). I did it this way because the mini-gerbil plugins appear to be a subset of the Beta 7 plugins. This doesn't impact the svgpathtools library issue, because the only plugin importing this library is in the mini-gerbil version of laser cut.

Ok, I got it working by:

1. Going to https://pypi.org/project/svgpathtools/#files and clicking the "download" link listed under the Project Links. Decompressing the archive and copying the svgpathtools directory to C:\Program Files (x86)\Inkscape\python\Lib

2. Going to  https://github.com/mozman/svgwrite/releases/tag/v1.2.1 and downloading the zip file. Next, decompress the archive and copy the archive's svgwrite directory to C:\Program Files (x86)\Inkscape\python\Lib.

3. Going to https://sourceforge.net/projects/pyparsing/ and downloading the exe file. Decompressing the archive and copying the file pyparsing.py in to the C:\Program Files (x86)\Inkscape\python\Lib.

You can test if everything is ok by going to C:\Program Files (x86)\Inkscape\python and running python. This will run the embedded python that is in Inkscape. At the python prompt type import svgpathtools and hitting enter. The prompt should return without errors.

Thanks for this! So far the svgpaths has not been easy to install and you still can use the previous plugin for laser cutting if this is too hard.


Cheers, Paul awesome.tech

Forum Registration