In UIPath Studio,python scope is not getting initiated while using windows framework but if converting it into legacy, code is running fine. Currently, we are using python 3.9 version

Hi @ayush_agarwal1 @saranya.divakaran

Would you mind giving this solution a try?