[...] > 2. On Mac OS, there is an issue where FindPython3() in CMake locates a >> different Python binary that doesn't match `python` from the command line >> [1]. >> >> I still need to sort this part out. >> >> >> >> It probably finds /usr/bin/python3 by default, which is Python 3.9 on >> recent versions of macOS. I think you'll have to set the Python3_ROOT_DIR >> hint. Given the python binary you get on the command line, try this: >> >> python3 -c 'import pathlib, sys; >> print(str(pathlib.Path(sys.executable).resolve().parent.parent))' >> >> >> Haven't tested this yet, but thanks, it looks promising. > > I have implemented this approach in r1935637 <https://svn.apache.org/r1935637> and it worked. Thanks!
-- Ivan Zhakov

