Made some PEP8 corrections and finally found what was causing hangup at the end of installation