Looks like issue #3140. @aseyboldt did some digging and saw that it’s a windows related issue. If you can run your code in a batch script, if you enclose the main calculations in an if __name__ == '__main__': statement, the code should run without crashing. Could you try that?