Erro getting in invoke python method

Invoke Python Method: One or more errors occurred.

Hi @sathish_Kumar6

I think the problem is DotNet Framework

You have use windowsdesktop-runtime-5.0.17-win-x64

Install this and then try to run it

Hi sanjay,

May i know what to install?

Hi @sathish_Kumar6

Hi @sathish_Kumar6

is it Windows or Legacy project ? If it is Windows Project, you need to install .NET as mentioned by @sanjay3

If it not or after installed it the issue persists, try to check the configuration for Python Version

Take a look here


Thanks for the link… will it work for the windows legacy project?

Hi @rikulsilva

I’m using windows legacy so what to do then?

Hi @sathish_Kumar6

For Legacy project you don’t need to install .NET.

Could you share the Python version installed and the properties panel for Python Scope activity ?

Python version is 3.8 and also attached property of Python scope and other activities as well.



two places to verify

  1. Open the exceptions details from the locals panel and check the exact exception from there
  2. When the exception occurs open the event viewer logs and check what error it shows…

depending on these we can determine next steps


Thanks for sharing @sathish_Kumar6

In version field, change to you your python version and try again

Hi @Anil_G

Attached exception details from the local panel and as well as from log viewer

Thanks for the suggestion but still getting the same error


In locals panel please expand exception details that is when we cna see the issue

also as per error looks like the python installation is faulty…can you check if you have used any env…and also if path variable in windows environment variables is correct


Thanks for let me know @sathish_Kumar6

Could check this either

In WorkingFolder put the folder path for your script


Try to run your script directly in a windows command prompt to check if everything is ok with you python configuration

path to python.exe path to

in the local panel, I’m getting errors as invoke python method one or more errors occurred.

any env means?

path is correct i did by seeing YouTube video

so if python is faulty means shall i reinstall?

still getting the error after giving the path in working folder

also in cmd it runs


You are checking outputs panel…open locals panel…exception details by clicking on magnifier

This is where you need to expand