Error loading python script-Python scope

Hi All,

I’m trying to run the python script using Run Python script activity, The process is executing and ending immediately. When i used load Python script, it is giving error with System.InvalidOperationException, please advise.
I’m using Python38 and Uipath.Python.activities package.

Please advise.

@Ramki81, use the activity inside a Python scope and try running it.

Very silly response

Hi @Ramki81,

Apologies if the reply seemed silly. The question doesn’t provide enough information and one can fairly assume that you haven’t used the Python Scope.
Refer this below solution and check if it works:

Thanks for kind response. If we don’t use the Python scope, we can’t have even run. My question is around Python38 version as this works with UiPath or not?