# Unable to run python scope: "Python Scope: Error initializing Python engine"

**URL:** <https://forum.uipath.com/t/unable-to-run-python-scope-python-scope-error-initializing-python-engine/5679984>\
**Category:** Studio\
**Tags:** python-scope, python, activities\
**Created:** [November 12, 2025, 9:48am UTC](https://forum.uipath.com/t/unable-to-run-python-scope-python-scope-error-initializing-python-engine/5679984 "2025-11-12T09:48:45Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Joachim](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/joachim/32/366194_2.png) [@Joachim](https://forum.uipath.com/u/Joachim)\
**Post date:** [November 12, 2025, 9:48am UTC](https://forum.uipath.com/t/unable-to-run-python-scope-python-scope-error-initializing-python-engine/5679984/1 "2025-11-12T09:48:45Z")

</div>

Hello forum members,

i have difficulties to use python in UiPath using python score.

1. the python skript works in PyCharm
2. i have configured the Path and the WorkingFolder the same as in PyCharm (where it works)
3. the python.exe is located in the specified folder
4. windowsdesktop-runtime-6.0.33-win-x64.exe is installed.
  - it did not work with .net runtime 4.x64
  - i also installed windowsdesktop-runtime-8.0.21-win-x86.exe, but it did not work either.
  - then i uninstalled .net runtime8 and re-installed runtime 6

5. I tried with Library path (“C:\Users\GrabandJ\AppData\Local\Programs\Python\Python313\python313.dll”) and without, but it does not work either
6. i tried with specifying the python version \>= 3.10 and without.
7. i also have seen the post [Unable to run Python Scope: Error initializing Python engine 64 bit](https://forum.uipath.com/t/unable-to-run-python-scope-error-initializing-python-engine-64-bit/400884)  
but, the .dll thing did not work for me.

The thing is, it already has worked before.  
I really do not have an idea, where to look for possible mistakes.

It would be great, if anyone has an idea how to fix this issue.

Best regards,  
Jo

 ![Output_error](https://global.discourse-cdn.com/uipath/original/4X/e/2/c/e2cea75ad852b2b6b9045a238e64882f13b85a0c.jpeg)  
 ![Output_Pycharm](https://global.discourse-cdn.com/uipath/original/4X/3/2/7/32744723e5b68a710f8da7109d2811321713ed6e.jpeg)  
 ![Python_skript](https://global.discourse-cdn.com/uipath/original/4X/1/e/e/1ee8d159ebfa98216e748f9797a73dc64a199cc6.jpeg)  
 ![Pythonscope_properties](https://global.discourse-cdn.com/uipath/original/4X/7/3/a/73a7b138e95a93e42ea7972e9f9979db62d65d28.jpeg)

---

<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:** [November 12, 2025, 9:55am UTC](https://forum.uipath.com/t/unable-to-run-python-scope-python-scope-error-initializing-python-engine/5679984/2 "2025-11-12T09:55:48Z")

</div>

@Joachim

1. Open event viewer and check what error you are getting there
2. What is the version of python activities

cheers

---

<div class="post-metadata">

**Author:** ![Joachim](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/joachim/32/366194_2.png) [@Joachim](https://forum.uipath.com/u/Joachim)\
**Post date:** [November 12, 2025, 10:02am UTC](https://forum.uipath.com/t/unable-to-run-python-scope-python-scope-error-initializing-python-engine/5679984/3 "2025-11-12T10:02:51Z")

</div>

Hello Anil,  
thank you for your quick reply.  
The python activity version is 1.10.0

 ![Eventlog](https://global.discourse-cdn.com/uipath/original/4X/9/9/4/9948cdc5114f2d8815f9b85f6ab38c7e567973bd.jpeg)

Best regards,  
Jo

---

<div class="post-metadata">

**Author:** ![Joachim](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/joachim/32/366194_2.png) [@Joachim](https://forum.uipath.com/u/Joachim)\
**Post date:** [November 13, 2025, 8:51am UTC](https://forum.uipath.com/t/unable-to-run-python-scope-python-scope-error-initializing-python-engine/5679984/4 "2025-11-13T08:51:49Z")

</div>

Hello Anil,  
i now have installed the .net desktop runtime 8.0.22 and the python package 1.10.0  
But it seems that the .net runtime does not work properly with UiPath.

Do you have an idea how i can get .net desktop runtime working with python and UiPath?  
Best regards, Jo

 ![dotnet_in_uipath](https://global.discourse-cdn.com/uipath/original/4X/a/3/9/a39866d74d73e98e39dfa42350e7103810b72708.jpeg)

---

<div class="post-metadata">

**Author:** ![prashant1603765](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/prashant1603765/32/523412_2.png) [@prashant1603765](https://forum.uipath.com/u/prashant1603765)\
**Post date:** [November 13, 2025, 11:02am UTC](https://forum.uipath.com/t/unable-to-run-python-scope-python-scope-error-initializing-python-engine/5679984/5 "2025-11-13T11:02:44Z")

</div>

Hi @Joachim

Pls check this 🙂

> [@Error initializing Python engine -\> RemoteException wrapping System.Exception: Host process has exit!](https://forum.uipath.com/t/error-initializing-python-engine-remoteexception-wrapping-system-exception-host-process-has-exit/1569576/10):
>
> Hi @Anil_G / @ashokkarale sorry for the delay… I am able to resolve issue with one workaround for now it is working for me. The issue is main with the UiPath compatibility as well as code changes. Observations: In my python code, i have written code to take path dynamic(current directory) and no hardcoded values has given. If I am running the code it is able to run properly with CMD where as I am getting issues in python activities saying pipe broken error(for both Run script & load scrip…

Happy AUtomation

---

<div class="post-metadata">

**Author:** ![Joachim](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/joachim/32/366194_2.png) [@Joachim](https://forum.uipath.com/u/Joachim)\
**Post date:** [November 13, 2025, 12:29pm UTC](https://forum.uipath.com/t/unable-to-run-python-scope-python-scope-error-initializing-python-engine/5679984/6 "2025-11-13T12:29:11Z")

</div>

Hi Anil,  
thank you for the reply.

I have found, that both dotnet 6 and dotnet 8 were installed on the laptop.  
I have uninstalled bot dotnet versions, uninstalled python.activities 1.10.0 and i deleted the UiPath.python.activities folder as well.  
Then i installed dotnet 8.0.22 and UiPath.python.activities 1.10.0

Now the skript is working.  
Thanks and best regards, Jo

---

<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:** [November 16, 2025, 12:29pm UTC](https://forum.uipath.com/t/unable-to-run-python-scope-python-scope-error-initializing-python-engine/5679984/7 "2025-11-16T12:29:52Z")

</div>

Closed on November 16, 2025, 12:29pm UTC

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