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

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

Operating environment

Python3.6 + Windows7

Problem phenomenon

  Using pip to automatically install the seaborn/numpy/scipy (pip install seaborn) module fails, prompting numpy.distutils.system_info.NotFoundError: no lapack/blas resources found error.

problem analysis

NA

problem solved

1. Click to enter the python package download address: http://www.lfd.uci.edu/~gohlke/pythonlibs/

2. The interface can directly search for the .whl file corresponding to the module to be installed. For example, seaborn, after obtaining it, choose to download according to your machine type (32-bit or 64-bit) and python version.

3. Use pip to install, with the absolute path of the file or place the file in the current path.

C:\Windows\system32>pip install C:\Users\linyfeng\Desktop\seaborn-0.8-py2.py3-none-any.whl

4. The import test is successful and the installation is over.

 other

If the xgboost installation fails, you can also obtain the .whl file from the above link. The installation is successful, and the installation method is the same. xgboost installation failed as described below

C:\Windows\system32> pip install xgboost
Collecting xgboost
  Downloading http: //pypi.doubanio.com/packages/34/85/456a1a8c762f646671043e446a59efbce02b5f408f522c4ef8793e860c5e/xgboost-0.6a2.tar.gz ( 1.2MB)
     100% |██████████████ █████████████████| 1.2MB 4.2MB/ s
 No files /directories in C:\Users\shiyanan\AppData\Local\Temp\pip-build-ujfe_1y7\xgboost\ pip-egg-info (from PKG-INFO)