I am facing this issue while running a program of python using UiPath

An ExceptionDetail,
likely created by IncludeExceptionDetailInFaults=true,
whose value is:
System.IO.DirectoryNotFoundException: The specified Python path is not valid: C:\Users\EUUOB\AppData\Local\Programs\Python\Python36\python.exe
at UiPath.Shared.Activities.AsyncTaskNativeImplementation.BookmarkResumptionCallback(NativeActivityContext context,
Object value)
at UiPath.Shared.Activities.AsyncTaskNativeActivity.BookmarkResumptionCallback(NativeActivityContext context,
Bookmark bookmark,
Object value)
at System.Activities.Runtime.BookmarkCallbackWrapper.Invoke(NativeActivityContext context,
Bookmark bookmark,
Object value)
at System.Activities.Runtime.BookmarkWorkItem.Execute(ActivityExecutor executor,
BookmarkManager bookmarkManager)

Please use python activities inside python scope -

And update the below property value to run your python scripts -

  • Path - The path to the Python environment installation folder. This field supports only strings and String variables.

Regards,
Karthik Byggari

1 Like

I am using it in inside pyhton scope only.
Also giving the path as: “C:\Users\EUPZN\AppData\Local\Programs\Python\Python36\python.exe”

Hi
Kindly check once whether the folder path is correct or not
Mention this path in path search bar in FILE EXPLORER and check whether it takes it to that file
Cheers @Anmol_Yadav

@Palaniyappan: Yes obviously.
The folder path is correct.

Hi @Anmol_Yadav

Try to change the Version property Auto to Python_36

@anoopap no change. Have done that also. Same error.

Kindly reinstall once the python and try once after restarting
Cheers @Anmol_Yadav

@Palaniyappan I’ll try this also and get back to you soon.

1 Like

The key is to provide the path to the folder rather than the Python.exe. Try this instead:
C:\Users\EUUOB\AppData\Local\Programs\Python\Python36