Home >Backend Development >Python Tutorial >How to install Scipy on Windows when encountering \'no lapack/blas resources found\' error?

How to install Scipy on Windows when encountering \'no lapack/blas resources found\' error?

Mary-Kate Olsen
Mary-Kate OlsenOriginal
2024-10-25 03:59:29900browse

How to install Scipy on Windows when encountering

Resolving Lack of Lapack/Blas Issue during Scipy Installation on Windows

When attempting to install Scipy using pip in an offline environment on Windows 7, you may encounter the error:

numpy.distutils.system_info.NotFoundError: no lapack/blas resources found

Solution:

To address this issue, it is recommended to utilize the precompiled binaries available at this link:

http://www.lfd.uci.edu/~gohlke/pythonlibs/#scipy

Once you have downloaded the appropriate file for your system (e.g., scipy-0.16.0-cp27-none-win_amd64.whl), use the following pip command to install:

pip install [Local File Location]\[Your specific file]

Prerequisites:

Before proceeding, ensure that the following prerequisites are met:

  • Install Visual Studio 2015/2013 with Python Tools (integrated into 2015 installation)
  • Install Visual Studio C Compiler for Python (https://www.microsoft.com/en-us/download/details.aspx?id=44266)
  • Install the Python version of your choice (e.g., Python 3.4)

By following these steps, you should be able to successfully install Scipy on your Windows system and resolve the Lapack/Blas resources error.

The above is the detailed content of How to install Scipy on Windows when encountering \'no lapack/blas resources found\' error?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn