I have a problem with the load python script, i past the name of the script, but when i run the bot, appeared the next error:
System.InvalidOperationException: Error loading Python script ----> System.ServiceModel.FaultException`1[System.ServiceModel.ExceptionDetail]: Exception has been thrown by the target of an invocation.
Can you share your Uipath workflow as well as the Python script you used so as to investigate the issue better.
Thanks and Regards,
I’m reviving this thread because I have the exact same error when trying to load a very simple Python script.
I’ve installed Python 3.6 32 bit inside my project folder, so the python executable is at Python/python.exe path from the root folder.
I don’t have any issue running or importing my script from the Powershell command line. I reproduced the error even with an extremely basic function: I’ve attached an example of a workflow and a python script (as a zip file) that throw the error.
testPython.xaml (5.7 KB)
test.zip (217 Bytes)
It would be amazing if someone could help me.
Thank you !