<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>I finally found out that there were two apparently independent issues, one with scipy&#39;s cobyla function and one with numpy&#39;s einsum function:  <br></div><div><a href="https://github.com/scipy/scipy/issues/8118" target="_blank">https://github.com/scipy/<wbr>scipy/issues/8118</a><br></div><div><a href="https://github.com/numpy/numpy/issues/10343" target="_blank">https://github.com/numpy/<wbr>numpy/issues/10343</a><br></div><div>I managed to fix it by manually editing cobyla and uninstalling and reinstalling numpy (not sure why the updated version wasn&#39;t installed right away). </div><div>Not sure whether my solution is the cleanest one, but I thought it might be usefull to know these issues in case someone else runs into similar problems. </div></div></blockquote><div><br></div><div>Thanks for tracking those down -- indeed, they should be fixed by forthcoming maintenance releases of SciPy (1.0.1) and NumPy (1.14.1).</div><div><br></div><div>Eric</div><div><br></div></div></div></div>