Hi Team,
I have one python code and want to run that code through but facing issue while running python scope activity. The python scope activity is not throwing any error but The activity takes to much time in doing nothing.
Let me know team if anyone have solution how to run python code through UiPath by other way.
@Smitesh_Aher2 ,
Make sure of below points:
You have installed Python versions 3.12 and lower version.
Python Scope supports the following Python versions:
For Windows - Legacy projects, 2.7, 3.4, 3.5, 3.6, 3.7, 3.8, 3.9, 3.10, 3.11, 3.12.
For Windows projects, 3.6, 3.7, 3.8, 3.9, 3.10, 3.11, 3.12.
Installed .Net Runtime 6.0.33
Download .NET 6.0 Desktop Runtime (v6.0.33) - Windows x64 Installer
Your Python scope is configured correctly.
Thanks,
Ashok
@Smitesh_Aher2 ,
You can refer this in detailed documentation on how to get it working.
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 refer my sample code here.
Thanks,
Ashok
Hi @ashokkarale
We are using python version:- 3.12.5 & .net framework version:- 4.0
We are getting below error while running python scope activity
@Smitesh_Aher2 ,
Python 3.12.5 will not work. You will have to downgrade it to 3.12.0 or below.
It need .Net Runtime 6.0.33 strictly not newer or older.
HI @Smitesh_Aher2
Please upgrade the version of Python Interpreter and validate the Environment variable that set Python path.
Thanks,
Chethan
@ashokkarale working fine now python scope activity but i am getting below error for invoke python method
Anil_G
(Anil Gorthi)
9월 5, 2024, 4:11오후
8
@Smitesh_Aher2
As per error your python code is not working
open exception details from locals panel you will see the complete error
also better to execute the file first and then try to invoke from UiPath
cheers
@Smitesh_Aher2 ,
Great to hear that your initial query is resolved.
Meanwhile I am looking into this error, Kindly close this thread as it got resolved and create new thread for this new error so it will get noticed by experts.
Thanks,
Ashok
Sure.
@ashokkarale Thanks!!!