← Back to team overview

kicad-developers team mailing list archive

Re: BUG FIXED: Opening pcbnew from kicad: ImportError: No module named pcbnew

 

On 1/12/2016 8:38 PM, Blair Bonnett wrote:
> On 13 January 2016 at 13:02, Clemens Koller <cko@xxxxxxxxx
> <mailto:cko@xxxxxxxxx>> wrote:
> 
> 
>     So, it looks that we are fine from Python 2.7 up to Python 3.5.1
> 
> 
> (Slight hijack of the thread follows).
> 
> The main CMakeLists.txt file requires Python 2.x (2.6 or 2.7 if I am
> reading it correctly). Is there some incompatibility with Python 3 that
> anyone is aware of? SWIG claims to support Python 3 -- do some of our
> bundled scripts only work with 2.x, or is this requirement a hangover
> from before SWIG could handle Python 3?
> 
> Cheers
> Blair

wxPython has not been ported to Python 3.  If you want wxPython support,
it's Python 2 or nothing.  If you just want Python scripting without
wxPython, then Python 3 may work.  I don't know that it's been tested.
IFAIR, the build configuration will only look for Python 2.

> 
> 
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp
> 



Follow ups

References