Python Scope Hanging

I’ve spent my morning trying to find out why the Python Scope isn’t working.

I’m using:

  • Windows 10
  • UiPath.Python Activities 1.8.1
  • Python 3.12.2

What I’ve found out:

I’m missing a driver? What do I do from here?

Hi @Aisya_Yahaya ,

From the provided snap I could see that there is a missing dll File “HostFxr.dll”, Please Try to uninstall the UiPath.Python.Activities package and reinstall again from your studio.

Or you can try installing lower version of the package save and Update again to install packages which might resolve the missing dll issue.

Please try and check once.

Thanks,
Gautham.

@Aisya_Yahaya,

It’s .net runtime error. Install .Net Runtime Download .NET 6.0 (Linux, macOS, and Windows) 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:

Hello Aisya_Yahaya,

Click on that link which is below “The .Net Runtime Can be found at”,
And try re-installing from that link. And once done, Close the studio and reopen it.

Issue is fixed, I reinstalled the python package.