PsychoPy does not open "configobj.ConfigObjError: Parsing failed with several errors"

Resolved following steps here: Standalone PsychoPy3 will not open

(note comment regarding the suggested code in the Troubleshooting pages producing the same error)