Concurrent Pythons for different things in same project

I’m seeing that the docs say you should be able to have at least Python2 and 3 co-existing but I’m failing to do that.
I.e. I’m doing

set(PYTHON2_EXECUTABLE $ENV{PYTHONHOME}/bin/python)
find_package(Python2 COMPONENTS Interpreter)

and then
find_package(Python3 COMPONENTS Interpreter Development)

which leads to the somewhat contradictory
-- Could NOT find Python3 (missing: Interpreter) (found version "3.12.3") as an error.