Hi, I managed to get KiCad to run with Python 3 as well as did some quick verification that basic methods are working using CLI (loading boards, calling a method of it).
Bugreport: https://bugs.launchpad.net/kicad/+bug/1785119 My Branch: https://github.com/pointhi/kicad-source-mirror/tree/python3 scripting inside of kicad was not tested because I'm not really familiar with it right now, as well as because of known wx problems with that stuff. For now it can be enabled using -DKICAD_SCRIPTING_PYTHON3=ON It is not possible to export modules for python 2 and python 3 with one build at the moment, but this should a thing which can be fixed in the build-script. I made some small changes to existing python code to get it working on both versions. To my knowledge and tests the scripts should not have changed behavior. Regards, Thomas
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Mailing list: https://launchpad.net/~kicad-developers Post to : [email protected] Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp

