For those stuck on the following error:
I took out all comments that used the triple single quote syntax (i.e. ''' comment here '''
) and then my script could load. For example:
import subprocess
''' THIS COMMENT SECTION AND THE TRIPLE QUOTES SHOULD BE REMOVED '''
# This type of comment is fine and will run
def function():
...
Hope that helps. Reply if this doesn’t solve the problem.