Trouble with Generators in 1.97

I took a look at this thread Script error - ORCA Input File Generator - #2 by Thomas which seemed to have a similar issue. Checking my python3 and open-babel installations did not resolve the error.