Howdy folks. I'm having an issue in Maya whenever I try to do a simple print command. I've disabled my Maya Output Window because it literally serves no purpose for me and is quite annoying. However, now I cannot seem to do even a simple print command, else I get
# Error: IOError: file <maya console> line 1: 9 #
(this happens with both the print command and sys.stdout.write() )I know for a fact it's due to the output window being disabled because as soon as I remove the environment variable in Windows the error goes away and I can print just fine. I could theoretically use
mel.eval(' print "foo" ')
But I think we can all agree that that's clunky and not fun. Is there a way to bypass this? I really don't want to have to enable the output window just to do a simple print command. And not being able to print makes troubleshooting quite difficult. Open to any and all input. Thank you.