In Python Scope you path like this
“C:\Users\username\AppData\Local\Programs\Python\Python310”
For Windows projects, the Python Scope activity requires you to install the .NET Desktop Runtime 5.0.17 .
Check this for ref:
https://forum.uipath.com/t/error-initializing-python-engine/334238/4
Hope this helps