6
>>> import numpy # OK!
>>> import scipy # OK!
>>> import theano # warning
WARNING (theano.tensor.blas): Failed to import scipy.linalg.blas, and Theano
flag blas.ldflags is empty. Falling back on slower implementations for
dot(matrix, vector), dot(vector, matrix) and dot(vector, vector) (DLL load
failed: Belirtilen modül bulunamadı.)
>>> 

When importing theano, python gives this warning. I setup theano according to this link. http://deeplearning.net/software/theano/install_windows.html

Numpy and Scipy imports are OK. but i'm stuck with BLAS.?

I clone to my computer OpenBLAS from github. how i add blas to environment variables ( "path" ) ?

7
  • AFAIK yes you need to install OpenBLAS .-. On the official website there is a link for the binaries for windows
    – Moraes
    Commented Nov 3, 2015 at 12:17
  • What exactly means install ? i download it, but how i recognize to python?
    – babeyh
    Commented Nov 3, 2015 at 12:21
  • It may be simpler to get Theano running in Anaconda on Windows. You can even get fast matrix operations using their MKL extensions but it's a commercial product (free for students). Commented Nov 3, 2015 at 12:47
  • thanks for help @DanielRenshaw, its work with anaconda.
    – babeyh
    Commented Nov 4, 2015 at 9:58
  • but it gives another warning WARNING (theano.configdefaults): g++ not detected ! Theano will be unable to execute optimized C-implementations (for both CPU and GPU) and will default to Python implementations. Performance will be severely degraded. To remove this warning, set Theano flags cxx to an empty string.
    – babeyh
    Commented Nov 4, 2015 at 9:58

1 Answer 1

1

Apparently you have error from scipy.linalg.blas, try to install the package from , to install scipy please make sure you have install

numpy+mkl

You can find it on http://www.lfd.uci.edu/~gohlke/pythonlibs/#numpy


The other problem you've mentioned is that g++ compiler isn't detected, theano requires g++ (Linux and Windows) in order to compile generated C code. (just google it deep learning theano setup might help).

The tutorial part of installing MinGW:

  1. In C:\ create file folder’s name called Program
  2. Install MinGW under this file folder ”Program”
  3. Install msys under the path included bin folder.
  4. run sh /postinstall/pi.sh in mysy and the direction you've just install MinGW is supposed to be C:/Program/mingw-w64/mingw64(depend on the install direction)
  5. follow the step on http://rosinality.ncity.net/doku.php?id=python:installing_theano and you might have your code works!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.