0

I recently updated numpy from 1.7.1 to 1.10.1 and scipy from 0.15.1 to 0.16.1 and now I get the error below when I run code that involved scipy:

  File "C:\Python27_x64\lib\site-packages\scipy\linalg\blas.py", line 155, in <module>
    from scipy.linalg import _fblas
ImportError: DLL load failed: The specified module could not be found.

I tried all this:

But none of these worked. I followed the address and found the missing module at the specified path in the python folder. I'm using Python 2.7.10 on Win-64 bit with PyCharm code editor. Any help would be greatly appreciated!

Community
  • 1
  • 1
Litwos
  • 1,278
  • 4
  • 19
  • 44

2 Answers2

1

They have been removed. From the scipy 0.16.0 release notes:

The following deprecated modules have been removed: scipy.lib.blas, scipy.lib.lapack, scipy.linalg.cblas, scipy.linalg.fblas, scipy.linalg.clapack, scipy.linalg.flapack. They had been deprecated since Scipy 0.12.0, the functionality should be accessed as scipy.linalg.blas and scipy.linalg.lapack.

TheBlackCat
  • 9,791
  • 3
  • 24
  • 31
  • But what do I do if the lines are called by another package? In my chase they are called by scikit-image. – Litwos Dec 03 '15 at 21:43
  • You need to see if there is an update to the package, or downgrade scipy. – TheBlackCat Dec 03 '15 at 21:48
  • The scikit-image module is updated, so, how do I downgrade scipy? I tried -> 'pip install scipy == 0.15.1' – Litwos Dec 03 '15 at 21:59
  • 1
    This is not the issue: look at the error message. Rather, it's likely about the C++ runtimes (please carefully read the text at the top of the page: http://www.lfd.uci.edu/~gohlke/pythonlibs/) – pv. Dec 03 '15 at 22:15
-3

I solved it by uninstalling Python 2.7.10 and installing the Anaconda distribution.

https://www.continuum.io/downloads

Litwos
  • 1,278
  • 4
  • 19
  • 44