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.
The UiPath Documentation Portal - the home of all our valuable information. Find here everything you need to guide you in your automation journey in the UiPath ecosystem, from complex installation guides to quick tutorials, to practical business...
Also you can refer this how to guide to get started.
The UiPath Documentation Portal - the home of all our valuable information. Find here everything you need to guide you in your automation journey in the UiPath ecosystem, from complex installation guides to quick tutorials, to practical business...
1 Like
Thank you @ashokkarale
I am check all this documentation but still get this problem.
@maulik_khunt ,
Can you share the below details:
.Net Runtime version installed
Python version
Library Path Value
Path value
1 Like
Anil_G
(Anil Gorthi)
January 30, 2025, 7:58am
5
@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.
Anil_G
(Anil Gorthi)
January 30, 2025, 8:07am
8
@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
@maulik_khunt ,
Can you try downloading and installing this runtime:
1 Like
@maulik_khunt ,
By installing the .Net Desktop Runtime mentioned earlier
1 Like
this one already install… you can see in shared image…
Anil_G
(Anil Gorthi)
January 30, 2025, 9:42am
14
@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
system
(system)
Closed
February 2, 2025, 9:49am
16
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.