← Back to team overview

kicad-developers team mailing list archive

Re: Python 3 now required

 

On Mon, Jun 14, 2021 at 11:59 PM Kevin Cozens <kevin@xxxxxxxxx> wrote:
> 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.
>

That's where cmake UIs come handy. Try ccmake or cmake-gui (they are
both official user interfaces for cmake). You don't need to know the
variables beforehand, you can see them all in the UI. I already forgot
what those problematic variables were but it was easy to find them
because they pointed to python 2.

Eeli Kaikkonen


Follow ups

References