Unable to run python script in UiPath

Hi,
@Anil_G @AJ_Ask @marian.platonov
Hi
I removed all my versions, installed Python 3.12 (64-bit), and installed .net runtime 6.0.x
now I’m getting the below error.

Get Python Object: Error converting Python object

I’m testing simple Python code as mentioned in the below:

def test():
return 123