
Hi
Im trying to invokin python script in UiPath
But im getting the above error
Even i tried with the two paths . still facing the same issue

Hi
Im trying to invokin python script in UiPath
But im getting the above error
Even i tried with the two paths . still facing the same issue

This is python version and path
Hello @abianbu28
Assign Python Path:
Set the Python path in UiPath using the appropriate activity or directly in the environment variables.
Invoke Python Script:
Use the “Invoke Python Method” or “Invoke Python Script” activity.
Check Python Script:
Ensure your Python script is correctly written and has the necessary dependencies installed.
Permissions:
Confirm that UiPath has the required permissions to execute the Python script.
Logging:
Implement logging in your Python script and UiPath workflow for better error tracking.
UiPath Version:
Check if you are using a UiPath version that supports Python activities.
Thanks & Cheers!!!
Hi @abianbu28,
Make these two changes:
"C:\Users\11870\AppData\Local\Programs\Python\Python39"
"C:\Users\11870\..\UiPath\YourProjectName"
Cheers
Hi @rajneesh94,
I just wanted to say a big thank you for sharing your solution when this challenge was raised. I’ve applied your approach, and it worked perfectly for me! Really appreciate your help.
Hi @abianbu28
UiPath can’t find python.exe at the path you gave.
Make sure python.exe actually exists there. Open Command Prompt, run where python, and copy that full path into Python Scope.
Also ensure you select python.exe (not the folder) and that Python version matches UiPath.