DLL load failed with scipy.optimize?

后端 未结 5 541
日久生厌
日久生厌 2020-12-10 03:52

I\'m trying to upload the curve_fit from scipy.optimize to fit an exponential function to some data I have generated. My code looks like:

import matplotlib.p         


        
5条回答
  •  -上瘾入骨i
    2020-12-10 04:38

    I encountered the error

        from ._ufuncs import *
    ImportError: DLL load failed: The specified module could not be found.
    

    when using cgoehlke's "Unofficial Windows Binaries for Python Extension Packages" for SciPy with a pip3-installed NumPy, overlooking this note:

    Many binaries depend on NumPy-1.9+MKL and ...

    Their NumPy provides the missing DLLs / modules.

提交回复
热议问题