Trying to get the python activities pack to work

I’m following this tutorial: about the python activities pack

When I execute the workflow from that link I get the error:

Source: Load Python Script
Message: Error loading Python script
Exception Type: System.InvalidOperationException

I suspect that it’s about the Python distribution I have (though it doesn’t error at the “Python Scope” activity). I have Python3.6 32bit installed.

I solved it! Never been more proud of a simple answer…

When specifying the path of your Python installation (in the “Python Scope” activity), make sure to use double backslashes to escape the first one.

So instead of:

“C:\Users\username\AppData\Local\Programs\Python\Python36”

you actually need to do…

“C:\\Users\\username\\AppData\\Local\\Programs\\Python\\Python36”

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.