← Back to team overview

kicad-developers team mailing list archive

Re: Python 3 now required

 

On 2021-06-14 4:34 p.m., Marco Ciampa wrote:
On Mon, Jun 14, 2021 at 03:43:54PM -0400, Jon Evans wrote:
You should be able to override what is found by CMake by defining the
PYTHON_EXECUTABLE variable in your cmake command line

Gosh, shame on me, it was so simple!

Not that simple. I tried passing -DPYTHON_EXECUTABLE=python3 and it still only finds 2.7. I tried it without the -D part. I have also tried it with and without a full path to python3. I even tried putting PYTHON_EXECUTABLE before 'cmake' on the line.

How do you tell cmake which version of python you want to use?


--
Cheers!

Kevin.

http://www.ve3syb.ca/               | "Nerds make the shiny things that
https://www.patreon.com/KevinCozens | distract the mouth-breathers, and
                                    | that's why we're powerful"
Owner of Elecraft K2 #2172          |
#include <disclaimer/favourite>     |             --Chris Hardwick


Follow ups

References