I have solved this problem by adjusting the scipy version. More details can be seen in the discussion topic at this link