Python script not executing in uipath

I have a simple python script to print name and i am trying to get that executed from UiPath.
While running the workflow, the process starts but then nothing is happening and the workflow stays in execution mode until stopped manually.
I have python 1.6 installed in UiPath and in my local i have 3.10 version.
Can someone please help?

Hi @srm1307

pls try to install 6.0 .net runtime and test.
or for more:
Activities - Invoking a Python Script

@srm1307

Welcome to the community

For 3.10 you need to install .net runtime 6 installed

To verify open event viewer and you would see an error for .net there

Cheers

Also, one more thing i have noticed. In the UiPath default package settings the Local is pointing to Program Files x86. however when checking in my local i see UiPath folder only in Program files and not in Program Files x86. Can this be the cause of the script not running?

The local miss-configuration will not cause the Python issue.
Your issue is most probably with the missing .Net 5/6 Desktop runtime.

Try to upgrade the UiPath.Python.Activities to v1.10.0 and install the .NET 6/8 Desktop Runtime.

Make sure that you are configuring correctly the Python Scope based on your Python installation.

1 Like