FindPython3 package picks up x86 Python installation when called from a x64 CMake binary
At https://github.com/e4z9/qt-creator/actions/runs/415218642 Qt Creator is using cmake scripts via cmake -P
for building with GitHub Actions. The CMake binary that is executed is x64.
For some reason in the script mode the x86 Python is found:
-- Found Python3: C:/hostedtoolcache/windows/Python/3.9.0/x86/python.exe (found version "3.9.0") found components: Interpreter
This interpreter is used to install via pip some extensions.
When the Qt Creator CMake code is processed then it reports:
-- Found Python3: C:/hostedtoolcache/windows/Python/3.9.0/x64/python.exe (found version "3.9.0") found components: Interpreter
Which will fail because the two are different Python installations.