This issue [#21942](https://github.com/scipy/scipy/issues/21942) appears to be yet another duplicate of #49 and #50.