# Can't run python script uipath

**URL:** <https://forum.uipath.com/t/cant-run-python-script-uipath/522740>\
**Category:** Studio\
**Tags:** extension, question, studio, python, activities\
**Created:** [March 3, 2023, 9:27am UTC](https://forum.uipath.com/t/cant-run-python-script-uipath/522740 "2023-03-03T09:27:15Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![deawkotic](https://avatars.discourse-cdn.com/v4/letter/d/ec9cab/32.png) [@deawkotic](https://forum.uipath.com/u/deawkotic)\
**Post date:** [March 3, 2023, 9:27am UTC](https://forum.uipath.com/t/cant-run-python-script-uipath/522740/1 "2023-03-03T09:27:15Z")

</div>

I can’t run python script in UiPath using activity “Run Python Script”. In output console, it shows only “execution started” but nothing happend and stuck this process forever.  
This is my sequence and python file.  
[python.xaml](https://forum.uipath.com/uploads/short-url/9d80Um9MYKivKJC66mYlcSilDHA.xaml) (5.9 KB)  
[a.zip](https://forum.uipath.com/uploads/short-url/e1YSx0XUboTTtXqqZNgeun3antF.zip) (166 Bytes)

---

<div class="post-metadata">

**Author:** ![MuralidharVankamaddi](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/muralidharvankamaddi/32/180917_2.png) [@MuralidharVankamaddi](https://forum.uipath.com/u/MuralidharVankamaddi)\
**Post date:** [March 3, 2023, 9:40am UTC](https://forum.uipath.com/t/cant-run-python-script-uipath/522740/2 "2023-03-03T09:40:11Z")

</div>

Which version of python is installed ? is it 32 bit or 64 bit?  
if it is 64 bit use x64 as the Target and remore the Working directory

---

<div class="post-metadata">

**Author:** ![deawkotic](https://avatars.discourse-cdn.com/v4/letter/d/ec9cab/32.png) [@deawkotic](https://forum.uipath.com/u/deawkotic)\
**Post date:** [March 3, 2023, 9:45am UTC](https://forum.uipath.com/t/cant-run-python-script-uipath/522740/3 "2023-03-03T09:45:17Z")

</div>

My python version is 3.9.13 64 bit. I config python folder and working folder in activity “Python Scope” already same as in my attachment file “python.xaml”.

---

<div class="post-metadata">

**Author:** ![MuralidharVankamaddi](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/muralidharvankamaddi/32/180917_2.png) [@MuralidharVankamaddi](https://forum.uipath.com/u/MuralidharVankamaddi)\
**Post date:** [March 3, 2023, 9:51am UTC](https://forum.uipath.com/t/cant-run-python-script-uipath/522740/4 "2023-03-03T09:51:33Z")

</div>

for me it is working I am using Python 3.9 . You can download python 3.9 instead of 3.9.13 and try

 ![image](https://global.discourse-cdn.com/uipath/original/4X/e/3/0/e30b1d7d821d04c2a9997afda0dac3beace62581.png)

---

<div class="post-metadata">

**Author:** ![pawanrajpurohit](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/pawanrajpurohit/32/176783_2.png) [@pawanrajpurohit](https://forum.uipath.com/u/pawanrajpurohit)\
**Post date:** [March 3, 2023, 9:54am UTC](https://forum.uipath.com/t/cant-run-python-script-uipath/522740/5 "2023-03-03T09:54:37Z")

</div>

Hello @deawkotic

Please install .net desktop runtime here I am sharing link [Download .NET 5.0 Desktop Runtime (v5.0.17) - Windows x64 Installer](https://dotnet.microsoft.com/en-us/download/dotnet/thank-you/runtime-desktop-5.0.17-windows-x64-installer)

after installing this python activity will work for you.

Thank you

---

<div class="post-metadata">

**Author:** ![deawkotic](https://avatars.discourse-cdn.com/v4/letter/d/ec9cab/32.png) [@deawkotic](https://forum.uipath.com/u/deawkotic)\
**Post date:** [March 3, 2023, 10:08am UTC](https://forum.uipath.com/t/cant-run-python-script-uipath/522740/6 "2023-03-03T10:08:55Z")

</div>

Thank you very much. This solution is work for me.

---

<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:** [March 6, 2023, 10:09am UTC](https://forum.uipath.com/t/cant-run-python-script-uipath/522740/7 "2023-03-06T10:09:02Z")

</div>

Closed on March 6, 2023, 10:09am UTC

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