# How to resolve the Python Scope Error

**URL:** <https://forum.uipath.com/t/how-to-resolve-the-python-scope-error/759990>\
**Category:** Activities\
**Tags:** question, python, activities\
**Created:** [August 14, 2024, 8:36am UTC](https://forum.uipath.com/t/how-to-resolve-the-python-scope-error/759990 "2024-08-14T08:36:23Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![ashokkarale](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/ashokkarale/32/474400_2.png) [@ashokkarale](https://forum.uipath.com/u/ashokkarale)\
**Post date:** [August 14, 2024, 8:40am UTC](https://forum.uipath.com/t/how-to-resolve-the-python-scope-error/759990/2 "2024-08-14T08:40:08Z")

</div>

@kishan.savaliya1,

Install .Net Runtime 6.0 and it should work as expected.

x64 direct download link here.

[Microsoft](https://dotnet.microsoft.com/en-us/download/dotnet/thank-you/runtime-desktop-6.0.29-windows-x64-installer)

 ![](https://global.discourse-cdn.com/uipath/original/4X/a/d/0/ad00fbcf01b318013c7334d0d84febd7a1c78287.png)

### [Download .NET 6.0 Desktop Runtime (v6.0.29) - Windows x64 Installer](https://dotnet.microsoft.com/en-us/download/dotnet/thank-you/runtime-desktop-6.0.29-windows-x64-installer)

Reference thread.

> [@Python Scope Hanging](https://forum.uipath.com/t/python-scope-hanging/733634/3):
>
> @Aisya_Yahaya, It’s .net runtime error. Install .Net Runtime [Download .NET 6.0 (Linux, macOS, and Windows)](https://dotnet.microsoft.com/en-us/download/dotnet/6.0) and it should work as expected. x64 direct download link here. If this don’t work try to downgrade to .Net Runtime 5.0 but it’s out of support as of now. As per latest update New features and improvements The Python activity package is now compatible with Python version 3.12 and .NET 6. So make sure you are using Python 3.12 or below only. Thanks, Ashok slight_smile

Thanks,  
Ashok 🙂

---

_[View the full topic](https://forum.uipath.com/t/how-to-resolve-the-python-scope-error/759990)._
