I’m exclusively developing python scripts and get this on a regular basis.
I never found a cause or solution.
Other than a “resetscriptengine” in the python scripteditor or a restart.
I’ll see if I can dis up other reports of this…
found this recent topic
you might want to inform @stevebaer if you can reproduce this error