Thank you for getting back. Moving rate_ function out of the if __name__ == '__main__': solved the problem in windows 10. I can run the above code without seeing broken pipes. Also, your idea of running in the system terminal will help me a lot.
Thank you for getting back. Moving rate_ function out of the if __name__ == '__main__': solved the problem in windows 10. I can run the above code without seeing broken pipes. Also, your idea of running in the system terminal will help me a lot.