Closed leoheck closed 3 years ago
Got a reply here on how to use the new pcbnew
module
This is what we need to do in Linux right now to be able to use the nightly pcbnew module from the latest Kicad
export PYTHONPATH=/usr/lib/kicad-nightly/lib/python3/dist-packages/
export LD_LIBRARY_PATH=/usr/lib/kicad-nightly/lib/python3/dist-packages/
And then if you use this in your python script
import pcbnew
print(pcbnew.GetBuildVersion())
It is going to output this
5.99.0-unknown-b10f156dd0~130~ubuntu21.04.1
PlotPcb.py
does not work on Kicad >= 5.99 yet at least on my Linux box (Ubuntu 21.04)