mtl / svg2mod

Convert Inkscape SVG drawings to KiCad footprint modules
Creative Commons Zero v1.0 Universal
236 stars 56 forks source link

No Module Named SVG #13

Closed bmmcwhirt closed 7 years ago

bmmcwhirt commented 7 years ago

$ ./svg2mod.py -i keyboard-layout-outline.svg -o keyboard.mod Traceback (most recent call last): File "./svg2mod.py", line 10, in import svg ImportError: No module named svg

kasbah commented 7 years ago

What was the solution?

bmmcwhirt commented 7 years ago

git did not fully pull the svg directory. Also on a mac at least you have to run the script from inside it's directory using relative paths unless you install the included svg lib.