Problem with linalg import _fblas..

Dear All, I am facng this issue when importing Kwant:
from scipy.linalg import _fblasImportError: DLL load failed: The specified module could not be found.
Please suggest what should be done to get rid of this. I also came to know that it could be from missing "scipy-stack". The same is also not available on "http://www.lfd.uci.edu/~gohlke/pythonlibs/". Somebody provide scipy-stack executable.
Regards,

Hi,
from scipy.linalg import _fblasImportError: DLL load failed: The specified module could not be found.
Without knowing anything about the problem, I would assume that scipy could not find a BLAS library; do you have BLAS installed?
Please suggest what should be done to get rid of this. I also came to know that it could be from missing "scipy-stack". The same is also not available on "http://www.lfd.uci.edu/~gohlke/pythonlibs/". Somebody provide scipy-stack executable.
A cursory Google search gets me this thread on stackoverflow:
https://stackoverflow.com/questions/17480779/importerror-when-importing-cert...
which may be of use. Sorry I can't be of more help,
Joe

Hi Siddheshwar,
Firstly, a package "scipy-stack" doesn't exist at all and never existed. It's a name Christoph Gohlke used for a collection of scientific python packages. Your problem appears to be due to a missing .dll file after scipy installation. These files are usually included with the file that you use to install scipy. However since your installation didn't work, while it did for most other people, I believe, that you most likely installed 64 bit scipy with a 32 bit python or you installed 32 bit scipy with 64 bit python. I recommend to uninstall all the packages, and start from scratch, carefully following the instructions.
Best, Anton
On Thu, Sep 10, 2015 at 11:24 AM, Joseph Weston joseph.weston08@gmail.com wrote:
Hi,
from scipy.linalg import _fblasImportError: DLL load failed: The specified module could not be found.
Without knowing anything about the problem, I would assume that scipy could not find a BLAS library; do you have BLAS installed?
Please suggest what should be done to get rid of this. I also came to know that it could be from missing "scipy-stack". The same is also not available on "http://www.lfd.uci.edu/~gohlke/pythonlibs/". Somebody provide scipy-stack executable.
A cursory Google search gets me this thread on stackoverflow:
https://stackoverflow.com/questions/17480779/importerror-when-importing-cert...
which may be of use. Sorry I can't be of more help,
Joe

Dear Anton, I have installed all the "win32" packages only. The scipy and python both are win32 ones. However I just re-installed scipy using "scipy-0.16.0-win32-superpack-python2.7.exe" file. Earlier it was "scipy-0.16.0-cp27-none-win32.whl" from the Gohlke webpage... Yes, I agree with you that there was never a package "scipy-stack". I could not find any traces of it too. However, after installing this new scipy, I am getting a different error, related to lapack. Please have a look at the screenshot attatched herewith. As in a earlier post, pointed out by Mr. Joseph Weston, it too seems to me the problem with LAPACK, BLAS. The lapack.py and blas.py both are inside the folder "C:/Python27/Lib/site-packages/scipy/linalg".
Regards,
On Thu, Sep 10, 2015 at 3:51 PM, Anton Akhmerov anton.akhmerov@gmail.com wrote:
Hi Siddheshwar,
Firstly, a package "scipy-stack" doesn't exist at all and never existed. It's a name Christoph Gohlke used for a collection of scientific python packages. Your problem appears to be due to a missing .dll file after scipy installation. These files are usually included with the file that you use to install scipy. However since your installation didn't work, while it did for most other people, I believe, that you most likely installed 64 bit scipy with a 32 bit python or you installed 32 bit scipy with 64 bit python. I recommend to uninstall all the packages, and start from scratch, carefully following the instructions.
Best, Anton
On Thu, Sep 10, 2015 at 11:24 AM, Joseph Weston joseph.weston08@gmail.com wrote:
Hi,
from scipy.linalg import _fblasImportError: DLL load failed: The specified module could not be found.
Without knowing anything about the problem, I would assume that scipy could not find a BLAS library; do you have BLAS installed?
Please suggest what should be done to get rid of this. I also came to
know
that it could be from missing "scipy-stack". The same is also not
available
on "http://www.lfd.uci.edu/~gohlke/pythonlibs/". Somebody provide scipy-stack executable.
A cursory Google search gets me this thread on stackoverflow:
https://stackoverflow.com/questions/17480779/importerror-when-importing-cert...
which may be of use. Sorry I can't be of more help,
Joe

Now it appears that your kwant installation is broken; try reinstalling Kwant now.
On Thu, Sep 10, 2015 at 1:06 PM, siddheshwar chopra sidhusai@gmail.com wrote:
Dear Anton, I have installed all the "win32" packages only. The scipy and python both are win32 ones. However I just re-installed scipy using "scipy-0.16.0-win32-superpack-python2.7.exe" file. Earlier it was "scipy-0.16.0-cp27-none-win32.whl" from the Gohlke webpage... Yes, I agree with you that there was never a package "scipy-stack". I could not find any traces of it too. However, after installing this new scipy, I am getting a different error, related to lapack. Please have a look at the screenshot attatched herewith. As in a earlier post, pointed out by Mr. Joseph Weston, it too seems to me the problem with LAPACK, BLAS. The lapack.py and blas.py both are inside the folder "C:/Python27/Lib/site-packages/scipy/linalg".
Regards,
On Thu, Sep 10, 2015 at 3:51 PM, Anton Akhmerov anton.akhmerov@gmail.com wrote:
Hi Siddheshwar,
Firstly, a package "scipy-stack" doesn't exist at all and never existed. It's a name Christoph Gohlke used for a collection of scientific python packages. Your problem appears to be due to a missing .dll file after scipy installation. These files are usually included with the file that you use to install scipy. However since your installation didn't work, while it did for most other people, I believe, that you most likely installed 64 bit scipy with a 32 bit python or you installed 32 bit scipy with 64 bit python. I recommend to uninstall all the packages, and start from scratch, carefully following the instructions.
Best, Anton
On Thu, Sep 10, 2015 at 11:24 AM, Joseph Weston joseph.weston08@gmail.com wrote:
Hi,
from scipy.linalg import _fblasImportError: DLL load failed: The specified module could not be found.
Without knowing anything about the problem, I would assume that scipy could not find a BLAS library; do you have BLAS installed?
Please suggest what should be done to get rid of this. I also came to know that it could be from missing "scipy-stack". The same is also not available on "http://www.lfd.uci.edu/~gohlke/pythonlibs/". Somebody provide scipy-stack executable.
A cursory Google search gets me this thread on stackoverflow:
https://stackoverflow.com/questions/17480779/importerror-when-importing-cert...
which may be of use. Sorry I can't be of more help,
Joe
-- Dr. Siddheshwar chopra, M.Sc., Ph.D (Physics) Assistant Professor (Physics), Amity University, Noida, India.

Dear Anton, Please confirm if I need to install LAPACK separately or not? Because installing it separately seems to be a tedious process involving CMake, visual studio. So I would rather move to Linux then. :( Also, If I have to repair this installation, do I have to start all over with "pip install -U pip" commands?
Regards,
Regards,
On Thu, Sep 10, 2015 at 4:38 PM, Anton Akhmerov anton.akhmerov@gmail.com wrote:
Now it appears that your kwant installation is broken; try reinstalling Kwant now.
On Thu, Sep 10, 2015 at 1:06 PM, siddheshwar chopra sidhusai@gmail.com wrote:
Dear Anton, I have installed all the "win32" packages only. The scipy and python both are win32 ones. However I just re-installed scipy using "scipy-0.16.0-win32-superpack-python2.7.exe" file. Earlier it was "scipy-0.16.0-cp27-none-win32.whl" from the Gohlke webpage... Yes, I
agree
with you that there was never a package "scipy-stack". I could not find
any
traces of it too. However, after installing this new scipy, I am getting a different error, related to lapack. Please have a look at the screenshot attatched
herewith.
As in a earlier post, pointed out by Mr. Joseph Weston, it too seems to
me
the problem with LAPACK, BLAS. The lapack.py and blas.py both are inside the folder "C:/Python27/Lib/site-packages/scipy/linalg".
Regards,
On Thu, Sep 10, 2015 at 3:51 PM, Anton Akhmerov <
anton.akhmerov@gmail.com>
wrote:
Hi Siddheshwar,
Firstly, a package "scipy-stack" doesn't exist at all and never existed. It's a name Christoph Gohlke used for a collection of scientific python packages. Your problem appears to be due to a missing .dll file after scipy installation. These files are usually included with the file that you use to install scipy. However since your installation didn't work, while it did for most other people, I believe, that you most likely installed 64 bit scipy with a 32 bit python or you installed 32 bit scipy with 64 bit python. I recommend to uninstall all the packages, and start from scratch, carefully following the instructions.
Best, Anton
On Thu, Sep 10, 2015 at 11:24 AM, Joseph Weston joseph.weston08@gmail.com wrote:
Hi,
from scipy.linalg import _fblasImportError: DLL load failed: The specified module could not be found.
Without knowing anything about the problem, I would assume that scipy could not find a BLAS library; do you have BLAS installed?
Please suggest what should be done to get rid of this. I also came to know that it could be from missing "scipy-stack". The same is also not available on "http://www.lfd.uci.edu/~gohlke/pythonlibs/". Somebody provide scipy-stack executable.
A cursory Google search gets me this thread on stackoverflow:
https://stackoverflow.com/questions/17480779/importerror-when-importing-cert...
which may be of use. Sorry I can't be of more help,
Joe
-- Dr. Siddheshwar chopra, M.Sc., Ph.D (Physics) Assistant Professor (Physics), Amity University, Noida, India.

If you are using wheels (= following the instructions from the website), you shouldn't need to install lapack separately.
On Thu, Sep 10, 2015 at 1:18 PM, siddheshwar chopra sidhusai@gmail.com wrote:
Dear Anton, Please confirm if I need to install LAPACK separately or not? Because installing it separately seems to be a tedious process involving CMake, visual studio. So I would rather move to Linux then. :( Also, If I have to repair this installation, do I have to start all over with "pip install -U pip" commands?
Regards,
Regards,
On Thu, Sep 10, 2015 at 4:38 PM, Anton Akhmerov anton.akhmerov@gmail.com wrote:
Now it appears that your kwant installation is broken; try reinstalling Kwant now.
On Thu, Sep 10, 2015 at 1:06 PM, siddheshwar chopra sidhusai@gmail.com wrote:
Dear Anton, I have installed all the "win32" packages only. The scipy and python both are win32 ones. However I just re-installed scipy using "scipy-0.16.0-win32-superpack-python2.7.exe" file. Earlier it was "scipy-0.16.0-cp27-none-win32.whl" from the Gohlke webpage... Yes, I agree with you that there was never a package "scipy-stack". I could not find any traces of it too. However, after installing this new scipy, I am getting a different error, related to lapack. Please have a look at the screenshot attatched herewith. As in a earlier post, pointed out by Mr. Joseph Weston, it too seems to me the problem with LAPACK, BLAS. The lapack.py and blas.py both are inside the folder "C:/Python27/Lib/site-packages/scipy/linalg".
Regards,
On Thu, Sep 10, 2015 at 3:51 PM, Anton Akhmerov anton.akhmerov@gmail.com wrote:
Hi Siddheshwar,
Firstly, a package "scipy-stack" doesn't exist at all and never existed. It's a name Christoph Gohlke used for a collection of scientific python packages. Your problem appears to be due to a missing .dll file after scipy installation. These files are usually included with the file that you use to install scipy. However since your installation didn't work, while it did for most other people, I believe, that you most likely installed 64 bit scipy with a 32 bit python or you installed 32 bit scipy with 64 bit python. I recommend to uninstall all the packages, and start from scratch, carefully following the instructions.
Best, Anton
On Thu, Sep 10, 2015 at 11:24 AM, Joseph Weston joseph.weston08@gmail.com wrote:
Hi,
from scipy.linalg import _fblasImportError: DLL load failed: The specified module could not be found.
Without knowing anything about the problem, I would assume that scipy could not find a BLAS library; do you have BLAS installed?
Please suggest what should be done to get rid of this. I also came to know that it could be from missing "scipy-stack". The same is also not available on "http://www.lfd.uci.edu/~gohlke/pythonlibs/". Somebody provide scipy-stack executable.
A cursory Google search gets me this thread on stackoverflow:
https://stackoverflow.com/questions/17480779/importerror-when-importing-cert...
which may be of use. Sorry I can't be of more help,
Joe
-- Dr. Siddheshwar chopra, M.Sc., Ph.D (Physics) Assistant Professor (Physics), Amity University, Noida, India.
-- Dr. Siddheshwar chopra, M.Sc., Ph.D (Physics) Assistant Professor (Physics), Amity University, Noida, India.
participants (3)
-
Anton Akhmerov
-
Joseph Weston
-
siddheshwar chopra