I had a system install of Python 3.7-odd installed I believe, but have uninstalled following the error. I then restarted the computer, went back into Visual Studio, went to Build->Delete Cache and Reconfigure, and ran into the same problem. Should I just wipe the KiCAD and vcpkg folders and try again from scratch because something has been polluted by the existing installation? I was holding off doing that due to the time it takes to compile all the dependencies!
On Sunday 27 October 2024 at 15:50:02 UTC [email protected] wrote: > It kind of sounds you have a broken build environment already somehow. > That error is expected if python 3.12 is used but we have python 3.11 > specified in our vcpkg config and its maintained in our vcpkg registry > layer. > > Do you have a system install of python 3.12? I have fought for many years > trying to get it ignored from the vcpkg build but python is literally > cancer and has numerous backdoors detection methods to keep picking up the > system install. > > > On Sun, Oct 27, 2024 at 11:47 AM Nicholas Burns <[email protected]> > wrote: > >> Hello. I've been trying to set up a build environment for KiCAD under >> Windows, following the visual studio build guide. I've avoided VS like the >> plague until now - but for this project I was willing to dip my toes! >> >> I've run into a python related problem during the CMake configuration >> phase. It collects and builds various packages through vcpkg, as expected, >> but trips up on wxpython. Investigating the log file I'm pointed to >> (D:\External_Gitlab_Projects\vcpkg\buildtrees\wxpython\get-pip-x64-windows-err.log) >> >> I find on the last line, "ModuleNotFoundError: No module named 'distutils'" >> >> I've done some looking around, and the most hopeful solution I found was >> to uninstall all installations of Python and try again... but >> unfortunately, this has not solved my problem. >> >> I have to admit - I'm stuck! Probably something simple because I'm not >> familiar with the toolchain. Any help would be fantastic though : ) >> >> -- >> You received this message because you are subscribed to the Google Groups >> "KiCad Developers" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To view this discussion visit >> https://groups.google.com/a/kicad.org/d/msgid/devlist/e2c3bdbe-b5d7-44be-893f-ea292c8add73n%40kicad.org >> >> <https://groups.google.com/a/kicad.org/d/msgid/devlist/e2c3bdbe-b5d7-44be-893f-ea292c8add73n%40kicad.org?utm_medium=email&utm_source=footer> >> . >> > -- You received this message because you are subscribed to the Google Groups "KiCad Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/a/kicad.org/d/msgid/devlist/6de8b862-1bc9-4e50-990b-2f3f652b5e25n%40kicad.org.
