Kibot install error DXF_UNITS_MILLIMETERS

While installing Kibot on Ubuntu using apt I got the following install error (KiCad 9.0.1 is installed):

ERROR:Unable to import plug-ins: cannot import name ‘DXF_UNITS_MILLIMETERS’ from ‘pcbnew’ (/usr/lib/python3/dist-packages/pcbnew.py) (kibot.gs - gs.py:897)
ERROR:Make sure you used --no-compile if you used pip for installation (kibot.gs - gs.py:897)
ERROR:Python path: [‘/usr/bin’, ‘/usr/lib/python310.zip’, ‘/usr/lib/python3.10’, ‘/usr/lib/python3.10/lib-dynload’, ‘/usr/local/lib/python3.10/d
ist-packages’, ‘/usr/lib/python3/dist-packages’] (kibot.gs - gs.py:897)

Any ideas how to solve this?

KiCad 9.0.1 is incompatible with KiCad 9.0.0.

Various constants changed their name and the plotter interface changed (SetPlotInvisibleText removed and GetPlotOnAllLayersSelection replaced by GetPlotOnAllLayersSequence which is similar, but not the same)

I’ll try to release 1.8.4, which adds support for these changes tomorrow. You can also just install 1.8.4 from the git repo (dev branch).

Is a pitty that KiCad developers introduced such a big ammount of changes on a patch release.

1 Like