Home  >  Article  >  Backend Development  >  How to Solve the \"No Lapack/Blas Resources Found\" Error During SciPy Installation on Windows?

How to Solve the \"No Lapack/Blas Resources Found\" Error During SciPy Installation on Windows?

Susan Sarandon
Susan SarandonOriginal
2024-10-25 02:00:29553browse

How to Solve the

Windows Scipy Install: Overcoming the Lapack/Blas Error

Encounters with the "No Lapack/Blas Resources Found" error during Python SciPy installation on Windows systems can be frustrating. This issue arises when SciPy cannot locate essential libraries for its core functionality. While it is tempting to fall back on the pre-built Windows binaries, there is a reliable solution that allows you to install SciPy through pip.

Solution: Utilizing the Pre-Compiled Wheel File

Head over to the designated link from the provided source: http://www.lfd.uci.edu/~gohlke/pythonlibs/#scipy. Here, you will find a list of pre-compiled wheel files tailored for different Windows configurations.

Identify and download the wheel file that aligns with your specific Python version and architecture (e.g., "scipy-0.16.0-cp27-none-win_amd64.whl" for Python 2.7 and 64-bit Windows).

Once downloaded, you can proceed with the pip installation using the following command:

pip install [Local File Location]\[Your specific file such as scipy-0.16.0-cp27-none-win_amd64.whl]

Ensuring Prerequisites are Met

Before embarking on the SciPy installation, it is crucial to verify that specific prerequisites are met on your Windows system:

  1. Visual Studio 2015/2013 with Python Tools: Install Visual Studio and integrate Python Tools during the installation process (for Visual Studio 2015).
  2. Visual Studio C Compiler for Python: Retrieve the compiler from the Microsoft download page (File Name: VCForPython27.msi).
  3. Python Version of Choice: Install your desired Python version from python.org (File Name example: python-2.7.10.amd64.msi).

The above is the detailed content of How to Solve the \"No Lapack/Blas Resources Found\" Error During SciPy Installation on Windows?. 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