I'm confused. How else should this work? If configure your kicad build to include wxPython, then one would expect the configuration to fail if wxPython is not installed or the correct version. Irregardless of where wxPython is installed on your system, python still needs to know where it is installed before you can use it either by installing wxPython into your python library path, adding the path programmatically during python scripting initialization, or using PTYHONPATH.
On 2/15/2015 6:39 PM, Garth Corral wrote: > I build wxPython as part of my kicad build. So if you just invoke python and > do, import wxversion, it will fail with an import error because it can’t find > the module. I’d need to set the python path to point to my built wxPython. > When all is compiled and installed, everything works because the libraries > are moved into the right places. > > Garth > >> On Feb 15, 2015, at 3:36 PM, Wayne Stambaugh <[email protected]> wrote: >> >> If you don't have wxPython installed, how are you compiling with >> KICAD_SCRIPTING_WXPYTHON=ON? The wxPython configuration check and the >> python scripting version selection initialization only happen when you >> configure your build with KICAD_SCRIPTING_WXPYTHON=ON. >> >> On 2/15/2015 6:30 PM, Garth Corral wrote: >>> >>> Hmm… So, unless I’m missing something, the new wxPython version check >>> isn’t ever going to work for me. I don’t have wxPython installed as part >>> of my system install so importing wxversion is always going to fail unless >>> I point it to my wxPython that I build as part of my kicad builds. Anyone >>> else experiencing this? >>> >>> >>> Garth >>> >>> >>> >>> _______________________________________________ >>> Mailing list: https://launchpad.net/~kicad-developers >>> Post to : [email protected] >>> Unsubscribe : https://launchpad.net/~kicad-developers >>> More help : https://help.launchpad.net/ListHelp >>> >> >> >> _______________________________________________ >> Mailing list: https://launchpad.net/~kicad-developers >> Post to : [email protected] >> Unsubscribe : https://launchpad.net/~kicad-developers >> More help : https://help.launchpad.net/ListHelp > _______________________________________________ Mailing list: https://launchpad.net/~kicad-developers Post to : [email protected] Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp

