# Python process scope gets stuck, no error just nothing runs

**URL:** <https://forum.uipath.com/t/python-process-scope-gets-stuck-no-error-just-nothing-runs/738562>\
**Category:** Help\
**Tags:** question, python, studio, activities\
**Created:** [May 3, 2024, 6:33am UTC](https://forum.uipath.com/t/python-process-scope-gets-stuck-no-error-just-nothing-runs/738562 "2024-05-03T06:33:05Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![ByteBreaker](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/bytebreaker/32/410625_2.png) [@ByteBreaker](https://forum.uipath.com/u/ByteBreaker)\
**Post date:** [May 3, 2024, 6:33am UTC](https://forum.uipath.com/t/python-process-scope-gets-stuck-no-error-just-nothing-runs/738562/1 "2024-05-03T06:33:06Z")

</div>

Hi All,

I am facing issue and I have gone through multiple post like these., still issue persists. Any pointers appreciated.  
[Unable to run Python Scope: Error initializing Python engine 64 bit - Help / Studio - UiPath Community Forum](https://forum.uipath.com/t/unable-to-run-python-scope-error-initializing-python-engine-64-bit/400884)

**Python Scope**

 ![image](https://global.discourse-cdn.com/uipath/original/4X/8/a/e/8ae63341cbae1eba69aac6d42cafef892663834a.png)

**Python Verison**  
Python 3.12.3

**Dot Net Runtime**  
Microsoft.AspNetCore.App 5.0.17 [C:\Program Files (x86)\dotnet\shared\Microsoft.AspNetCore.App]  
Microsoft.NETCore.App 5.0.17 [C:\Program Files (x86)\dotnet\shared\Microsoft.NETCore.App]  
Microsoft.WindowsDesktop.App 5.0.17 [C:\Program Files (x86)\dotnet\shared\Microsoft.WindowsDesktop.App]

---

<div class="post-metadata">

**Author:** ![Anil\_G](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/anil_g/32/524291_2.png) [@Anil\_G](https://forum.uipath.com/u/Anil_G)\
**Post date:** [May 3, 2024, 8:40am UTC](https://forum.uipath.com/t/python-process-scope-gets-stuck-no-error-just-nothing-runs/738562/2 "2024-05-03T08:40:06Z")

</div>

@ByteBreaker

when it is stuck can you open the event viewer and check if there are any errors reported there please

cheers

---

<div class="post-metadata">

**Author:** ![mukesh.singh](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/mukesh.singh/32/490232_2.png) [@mukesh.singh](https://forum.uipath.com/u/mukesh.singh)\
**Post date:** [May 3, 2024, 9:15am UTC](https://forum.uipath.com/t/python-process-scope-gets-stuck-no-error-just-nothing-runs/738562/3 "2024-05-03T09:15:13Z")

</div>

1. using the command link pls check your code is running
2. by looking at your screenshot you have used the right version of python pls look at the below post  
[Activities - About the Python activity package](https://docs.uipath.com/activities/other/latest/developer/about-the-python-activities-pack)
3. check the path “C:\Users\UocalAppData\Local\Programs\Python\Python312”
4. Within the “Python Scope” activity properties, ensure the “Target” is set to “x64”
5. check that the same code is working on other systems
6. review the event logs
7. Microsoft.AspNetCore.App 5.0.17 → supported version for Python
8. Reinstall UiPath Python Activities

@ByteBreaker I hope this steps will help you solve the issue. Pls let me know if you need any help from us.

---

<div class="post-metadata">

**Author:** ![ByteBreaker](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/bytebreaker/32/410625_2.png) [@ByteBreaker](https://forum.uipath.com/u/ByteBreaker)\
**Post date:** [May 6, 2024, 6:30am UTC](https://forum.uipath.com/t/python-process-scope-gets-stuck-no-error-just-nothing-runs/738562/4 "2024-05-06T06:30:47Z")

</div>

Hi @Anil_G and @mukesh.singh, thank you for pointing in the right direction, I should have checked there before. It was pointed out that **“HostFxr.dll”** was missing and even after re-installing the Python package, the issue was not resolved.

Further, I tried to install `windowsdesktop-runtime-6.0.29-win-x64` and `dotnet-runtime-6.0.29-win-x64` (UiPath documentation slightly seems to be mentioning it is included in the tool installation) but in my case, installing these resolved the issue and I am able to run Python in UiPath.

I appreciate your responses.

Thank you.

---

<div class="post-metadata">

**Author:** ![loginerror](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/loginerror/32/22614_2.png) [@loginerror](https://forum.uipath.com/u/loginerror)\
**Post date:** [May 6, 2024, 8:42am UTC](https://forum.uipath.com/t/python-process-scope-gets-stuck-no-error-just-nothing-runs/738562/5 "2024-05-06T08:42:11Z")

</div>

> [@ByteBreaker](#):
>
> UiPath documentation slightly seems to be mentioning it is included in the tool installation) but in my case, installing these resolved the issue and I am able to run Python in UiPath.

This is indeed the solution. I thought it is supposed to come with Studio installation, but I’ll double check if that is the case and we’ll update the documentation accordingly 🙂

---

<div class="post-metadata">

**Author:** ![ByteBreaker](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/bytebreaker/32/410625_2.png) [@ByteBreaker](https://forum.uipath.com/u/ByteBreaker)\
**Post date:** [May 7, 2024, 12:47am UTC](https://forum.uipath.com/t/python-process-scope-gets-stuck-no-error-just-nothing-runs/738562/6 "2024-05-07T00:47:50Z")

</div>

Thanks for the update @loginerror.

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/system/32/182466_2.png) [@system](https://forum.uipath.com/u/system)\
**Post date:** [May 10, 2024, 12:48am UTC](https://forum.uipath.com/t/python-process-scope-gets-stuck-no-error-just-nothing-runs/738562/7 "2024-05-10T00:48:20Z")

</div>

Closed on May 10, 2024, 12:48am UTC

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.
