SchrodingersGat / KiBoM

Configurable BoM generation tool for KiCad EDA (http://kicad.org/)
MIT License
352 stars 95 forks source link

xlsx output issue #143

Closed blopblopblup closed 3 years ago

blopblopblup commented 3 years ago

Using KiBoM_CLI from within KiCad can't output xlsx : python "F:\programmes\KiCad\bin\scripting\plugins\KiBoM/KiBOM_CLI.py" "%I" "%O.xlsx"

Log : ERROR Error writing XLSX output ERROR Error writing variant 'None'

I'm on windows 10, I have installed XlsxWriter and I have no issue with other output formats.

niflostancu commented 3 years ago

Hi, I had the same problem. You didn't install xlsxwriter in the right environment (kicad comes with embedded python 2.7 installation on windows). You need to open cmd (as Administrator), navigate to Kicad's installation dir (then bin/) and install it there:

cd "C:\Program Files\Kicad\bin"
python -mpip install xlsxwriter
blopblopblup commented 3 years ago

Thanks !

ModuloFS commented 2 years ago

Hi, I had the same problem. You didn't install xlsxwriter in the right environment (kicad comes with embedded python 2.7 installation on windows). You need to open cmd (as Administrator), navigate to Kicad's installation dir (then bin/) and install it there:

cd "C:\Program Files\Kicad\bin"
python -mpip install xlsxwriter

Hi,

i had the same problem and it took me some time to get to this hint. Would be very helpfull if this instruction is included into the Documentation!