User16871418122
Databricks Employee
Databricks Employee

There apparently exists a simple solution. You can add sys.stdout.fileno = lambda: 0 to resolve the issue.

The issue was hit with ray library as well:

Screenshot 2021-11-24 at 10.43.34 AM 

You can add sys.stdout.fileno = lambda: 0 to resolve the issue.

Screenshot 2021-11-24 at 10.43.40 AM