Unexpected Error while Loading Python Script

Have you attempted to load a more simple python script to pinpoint the issue first?

Try this, it is a simple workflow and python script that I have shaed before on here. It will help to analyse the issue. It works for me so please give it a go. If the issue persists, it will be something on your machine/server/ or the uipath invoke python activity properties which is causing the issue.

InvokePython.zip (3.1 KB)