leastsq专题

Python multiprocessing scipy optimize leastsq线程安全问题

错误状态描述:单线程运行时,没有任何错误,多线程运行时,时不时收到SystemError: null argument to internal routine。通过traceback确认是optimize.leastsq的问题! SystemError: null argument to internal routine Traceback (most recent call last):