Python Activity Not Working

Hey Peeps!
I’m facing this issue where I am using an activity “Load Python Script” inside the “Python Scope” activity. But the script is endlessly running and producing no output, or not even terminating after sometime.
I have tried downgrading the Python version from 3.12 to 3.8.1 and the issue still persists.
Here’s the screenshot for the reference of the activity I am trying to use.
image

If there’s any solution you can provide it will be helpful.

@Charan_Kalyankar,

Have you installed .Net runtime 6? It’s prerequisites for Python package activities.

Also follow these threads for solution.

Thanks,
Ashok :slight_smile:

Hey @ashokkarale,

Thank you for the inputs. It’s working now.

Hey @ashokkarale,

The python activity is running fine for normal python files. I tried with a basic hello world function. It ran properly. But when I am trying to run the activity with a code which has a processing logic of excel sheets, it is throwing this error called “Pipe is Broken”.
Here’s the screenshot for the reference. If you could help on this, will be great.
Thanks, Charan.
image

@Charan_Kalyankar,

If your python script throws some error, it disconnects Python scope from the script. Try to handle the exception at script level only and you should be fine.

Thanks,
Ashok :slight_smile:

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