That script is not a plugin and will not show up in pcbnew. It’s intended to be run with python directly and it’s input is the netlist file that eeschema outputs.
The error you pasted is also irrelevant.
I’m not sure what output format you expect but maybe netlist view mode in interactive html bom plugin can help
Some of my old projects have xml netlists. I can’t remember how made those. I think it is the intermediate netlist file. Can keep that file without deleting it? Any method is appreciated. Thanks
Xml file is likely the intermediate file that eeschema’s built in bom tool generates. It contains roughly the same information as netlist file but in xml form.
There doesn’t appear to be an XML tab in the schematic netlist dialog so I made my own hack tab using perl instead xslt because I have no clue about xslt.
I guess I should show what I learned. I needed the netlist XML because the kicad_netlist_reader python module is an XML netlist manipulator using SAX. I used the python installed on my PC. By coincidence the first wire I listed was the wire that was not soldered.