Could not determine wxPython version.
The build process proceeds normally, however when opening parts that require wxPython the code cannot find the correct version.
This could be related to scripting/python_scripting.cpp. In this file, the pybind11 snippet that checks the version of wx does not return pybind11::dict locals ,,, so the version string is always empty.
I don't have pybind11 from the system, although CMake's rules guarantee to use it coming from a thirdparty directory.
My Python is 3.9.16 My wxPython is 4.2.0 My wxWidgets is 3.2.2.1
Steps to reproduce
- Open a new project
- Select schematic editor
- the error message will occur
KiCad Version
Application: KiCad Schematic Editor x86_64 on x86_64
Version: 7.0.1-slackware15.0, release build
Libraries:
wxWidgets 3.2.2
FreeType 2.11.1
HarfBuzz 3.2.0
FontConfig 2.13.92
libcurl/7.88.1 OpenSSL/1.1.1t zlib/1.2.13 brotli/1.0.9 zstd/1.5.2 c-ares/1.18.1 libidn2/2.3.2 libpsl/0.21.1 (+libidn2/2.3.0) libssh2/1.10.0 nghttp2/1.46.0
Platform: , 64 bit, Little endian, wxGTK, KDE, x11
Build Info:
Date: Mar 10 2023 22:13:12
wxWidgets: 3.2.2 (wchar_t,wx containers) GTK+ 3.24
Boost: 1.78.0
OCC: 7.6.3
Curl: 7.88.1
ngspice: 39
Compiler: GCC 11.2.0 with C++ ABI 1016
Build settings:
KICAD_USE_EGL=ON
KICAD_SPICE=ON