![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 - Activities - 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 - Activities -](https://global.discourse-cdn.com/uipath/original/4X/1/9/8/198c4aeabe430376a9397f1c271367a5b38d50f8.jpeg)
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 - Activities -
Troubleshooting Error "Python Scope: Error Initializing Python Engine" - Knowledge Base - UiPath Community Forum
![Python UiPath - How to use Classes with UiPath.Python.Activities - Marketplace - UiPath Community Forum Python UiPath - How to use Classes with UiPath.Python.Activities - Marketplace - UiPath Community Forum](https://forum.uipath.com/uploads/short-url/rom7b9GWmBXdY5VGnXgst6V32Ta.png?dl=1)