# Getting error at python scope activity

**URL:** <https://forum.uipath.com/t/getting-error-at-python-scope-activity/745669>\
**Category:** Studio\
**Tags:** activities-panel, question, studio, python, activities\
**Created:** [June 5, 2024, 7:16am UTC](https://forum.uipath.com/t/getting-error-at-python-scope-activity/745669 "2024-06-05T07:16:21Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Krishna\_Raj](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/krishna_raj/32/377808_2.png) [@Krishna\_Raj](https://forum.uipath.com/u/Krishna_Raj)\
**Post date:** [June 5, 2024, 9:36am UTC](https://forum.uipath.com/t/getting-error-at-python-scope-activity/745669/4 "2024-06-05T09:36:13Z")

</div>

@victoryv4569

> [@Error in the Python Scope Activity](https://forum.uipath.com/t/error-in-the-python-scope-activity/739106/4):
>
> @didac.elguet, Try running this sample code. You should have .Net runtime 6.0 installed and the Python exe path added to System variable. [Main.xaml](https://forum.uipath.com/uploads/short-url/qqyToRs0qgvMGNovh61QjCXfBL9.xaml) (8.3 KB) Thanks, Ashok slight_smile

check this thread as reference

---

_[View the full topic](https://forum.uipath.com/t/getting-error-at-python-scope-activity/745669)._
