Python Scope is not getting inside body

I am facing an issue in Python where the scope is not entering the intended block of code. The script continues running without any errors, but the logic inside the block does not seem to execute.

Could you please help me troubleshoot this issue? Any guidance would be greatly appreciated.

@maulik_khunt,

Check if you are fulfilling the prerequisites for using Python activities.

Also you can refer this how to guide to get started.

1 Like

Thank you @ashokkarale
I am check all this documentation but still get this problem.

@maulik_khunt,

Can you share the below details:

  1. .Net Runtime version installed
  2. Python version
  3. Library Path Value
  4. Path value
1 Like

@maulik_khunt

Welcome to the community

is the script paused or continuing?

like is it stuck the way seen in screenshot?

if yes then mostly it is a .net error…based on versio of python you need to use either .net 5 or .net 8 runtime

cheers

.net runtime version is = 6.0.428

Thank you @Anil_G

the python scope is continuing running and not throw any type of error.

@maulik_khunt

it would not throw error but is stuck as in screenshot…if so .net error it would be…to confirm…when running open event viewer and check if you get any errors there

cheers

Ok , I’ll check …

thank you

1 Like

@maulik_khunt,

Can you try downloading and installing this runtime:

1 Like

how to solve this …?

@maulik_khunt,

By installing the .Net Desktop Runtime mentioned earlier

1 Like

this one already install… you can see in shared image…

@maulik_khunt

I guess you have latest python package which needs .net6 or higher…what is have is 5

Cheers

Thank You @Anil_G & @ashokkarale

I really appreciate your help in resolving my Python scope issue. Your guidance made a big difference, and I learned something valuable from it. Thanks again for your support!

1 Like

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