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

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
    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




1 Like

@Joachim

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

cheers

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

Best regards,
Jo

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

Hi @Joachim

Pls check this :slight_smile:

Happy AUtomation

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

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