How to switch Python version from 2.7 into 3.7 in unreal

I change the UE_PYTHON_DIR to “E:\python3.7Installer\python-3.7.7-amd64.exe”

This is a python installer, and I rebuild the engine,

but it is not working - my project is still using 2.7.

What am i doing wrong?

Hoping for an answer

Thanks

I solved this problem myself

it is a silly question

the UE_PYTHON_DIR should point to installed position

such as “C:\Users\MagicEiron\AppData\Local\Programs\Python\Python37-32”

and rebulid engine

rebuild myProject

solved