Compile error when i build LibreOffice on Windows

I got an error compiling libreoffice, my environment is windows10 x64. Can anyone tell me what is the reason for this? Looking forward to your answer, thanks.

config.status: creating test/perf/collationperf/Makefile
config.status: creating test/perf/collperf/Makefile
config.status: creating test/perf/collperf2/Makefile
config.status: creating test/perf/dicttrieperf/Makefile
config.status: creating test/perf/ubrkperf/Makefile
config.status: creating test/perf/charperf/Makefile
config.status: creating test/perf/convperf/Makefile
config.status: creating test/perf/localecanperf/Makefile
config.status: creating test/perf/normperf/Makefile
config.status: creating test/perf/DateFmtPerf/Makefile
config.status: creating test/perf/howExpensiveIs/Makefile
config.status: creating test/perf/strsrchperf/Makefile
config.status: creating test/perf/unisetperf/Makefile
config.status: creating test/perf/usetperf/Makefile
config.status: creating test/perf/ustrperf/Makefile
config.status: creating test/perf/utfperf/Makefile
config.status: creating test/perf/utrie2perf/Makefile
config.status: creating test/perf/leperf/Makefile
config.status: creating test/fuzzer/Makefile
config.status: creating samples/Makefile
config.status: creating samples/date/Makefile
config.status: creating samples/cal/Makefile
config.status: creating samples/layout/Makefile
Not rebuilding data/rules.mk, assuming prebuilt data in data/in
Spawning Python to generate test/testdata/rules.mk…
configure: error: Python failed to run; see above error.
make[1]: *** [E:/sources/libo-core/external/icu/ExternalProject_icu.mk:22: E:/bu
ild/workdir/ExternalProject/icu/build] Error 1
make[1]: *** Waiting for unfinished jobs…
make: *** [Makefile:299: build] Error 2

Did you download the Windows 10 installer? Double click on that and start to install.

So for a start: Do you have python installed? Can the build-process access it? How is the build-process trying to start python? …

All development-related questions (and building LO from source is one of those) is off-topic on the Ask site, and should go to the channels listed at Developers | LibreOffice - Free Office Suite - Based on OpenOffice - Compatible with Microsoft

The usual suspicion is if you actually set up your development environment correctly, as outlined in the wiki.

Thank you for your answer, it is true that python is not installed correctly in my Cygwin, I can compile normally after reinstalling python3.