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.- Set the “Path” property to the full path of your Python script.
- Configure other properties as needed.
-
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:
- In the Path property of Python Scope Container do not include the path upto exe. In your case the Path will be
"C:\Users\11870\AppData\Local\Programs\Python\Python39"
- In the WorkingFolder property insert the folder path where your UiPath project resides. Something like:
"C:\Users\11870\..\UiPath\YourProjectName"
Cheers
Hola, @rajneesh94:
Quería darte las gracias de todo corazón por compartir tu solución cuando se planteó este desafío. He aplicado tu método y me ha funcionado a la perfección. ¡Te agradezco mucho la ayuda!
Hola @abianbu28
UiPath no encuentra python.exe en la ruta que indicaste.
Asegúrate de que python.exe exista realmente ahí. Abre el símbolo del sistema, ejecuta where python y copia la ruta completa en Python Scope.
Asegúrate también de seleccionar python.exe (no la carpeta) y de que la versión de Python coincida con la de UiPath.
