← Back to team overview

kicad-developers team mailing list archive

Building with local Python3 etc


So, I updated my CMake and tweaked some variables, and now 'make
install' succeeds without "app verification failed". Also I can start
pcbnew without crashing. However, trying to open the scripting console
in pcbnew gives an error popup. The console reveals that it couldn't
import the 'wx' module.

During make install, I saw this:

cp: cannot overwrite directory
with non-directory

It's non-directory because it's a symlink. It points to
/usr/local/lib/python3.9/site-packages, which does contain the 'wx'

I've tried rerunning cmake with
-DPYTHON_SITE_PACKAGE_PATH=/usr/local/lib/python3.9/site-packages but
I get the same error at make install. Perhaps it's cached somewhere,
how can I clear that without doing the whole build again from scratch?
(which takes a couple of hours on my slow machine...)


Follow ups