Warning: AttributeError : 'NoneType' object has no attribute 'isatty'

Hi all,

I get the following error when executing a Python Script in Dynamo. I do not get this error when using the same script in Visual Code for example.

Any ideas on what might cause this problem?

Thanks in advance!

I managed to find a fix with the help of others. So for other people getting this error. Just comment out line 97 in the init.py file. This doesn’t sound like a good solution, however, the script is working as supposed.