I want to install ROOT in windows 10 for the use in python 3.9

The “libPyROOT” was provided/used by older ROOT versions (up to 6.20).
You could build newer ROOT versions (from 6.22) this way, but you would need to specify “-Dpyroot_legacy=ON”.