I searched for a Plugin/Script that can export the BOM into labels to mark my component bags as they come from mouser. I found StickerBOM on GitHub. I tried to run the script by adding it to the BOM generator scripts in the Schematic Editor. Then i got this output:
File "C:\script_location\agg-kicad-master\scripts\stickerbom.py", line 14, in <module>
import cairo
ModuleNotFoundError: No module named 'cairo'
Then i tried installing cairo
with pip, so i opened the KiCad 6.0 Command Prompt and typed pip install pycairo
as i believe is the right version. But the module cairo is still not found.
Does someone know where the python modules for KiCad are located?
Or does someone know how i can check which modules python knows?
Is there another know plugin/script which can generate labels?
Thanks for your help.
KiCad Installation:
Application: KiCad (64-bit)
Version: (6.0.8), release build
Libraries:
wxWidgets 3.1.7
libcurl/7.83.1-DEV Schannel zlib/1.2.12
Platform: Windows 10 (build 19044), 64-bit edition, 64 bit, Little endian, wxMSW
Build Info:
Date: Sep 29 2022 00:21:26
wxWidgets: 3.1.7 (wchar_t,wx containers)
Boost: 1.79.0
OCC: 7.6.0
Curl: 7.83.1-DEV
ngspice: 37
Compiler: Visual C++ 1929 without C++ ABI
Build settings:
KICAD_USE_OCC=ON
KICAD_SPICE=ON