Python Neupy 安装:未找到 lapack/blas 资源

Python Neupy install : no lapack/blas resources found

我无法安装软件包 Neupy。我使用 Python 3.5 和 Windows 10..

我尝试从源代码中克隆它如下:

git clone https://github.com/itdxer/neupy.git
cd neupy
python setup.py install

这是我得到的错误:

non-existing path in 'scipy\integrate': 'quadpack.h'
error: no lapack/blas resources found

另外,我按照本期给出的解决方案:

pip install neupy-1.0-py2.py3-none-any.whl

我在这里遇到了另一个问题:

Exception:
Traceback (most recent call last):
File "c:\users\python\lib\site-packages\pip\basecommand.py", line 209, in main
status = self.run(options, args)
File "c:\users\python\lib\site-packages\pip\commands\install.py", line 310, in run
wb.build(autobuilding=True)
File "c:\users\python\lib\site-packages\pip\wheel.py", line 748, in build
self.requirement_set.prepare_files(self.finder)
File "c:\users\python\lib\site-packages\pip\req\req_set.py", line 360, in prepare_files
ignore_dependencies=self.ignore_dependencies))
File "c:\users\python\lib\site-packages\pip\req\req_set.py", line 577, in _prepare_file
session=self.session, hashes=hashes)
File "c:\users\python\lib\site-packages\pip\download.py", line 798, in unpack_url
unpack_file_url(link, location, download_dir, hashes=hashes)
File "c:\users\python\lib\site-packages\pip\download.py", line 705, in unpack_file_url
unpack_file(from_path, location, content_type, link)
File "c:\users\python\lib\site-packages\pip\utils\__init__.py", line 599, in unpack_file
flatten=not filename.endswith('.whl')
File "c:\users\python\lib\site-packages\pip\utils\__init__.py", line 482, in unzip_file
zipfp = open(filename, 'rb')
FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\neupy\neupy-1.0-py2.py3-none-any.whl'

编辑: 解决方案是使用来自官方来源的 whl 检查 lapack/blas:

的依赖关系
  1. 下载适合您OS的scipy版本和lfd.uci.edu/~gohlke/pythonlibs/#scipy

  2. 然后输入命令:

    pip install [Local File Location]\[Your specific file such as scipy-0.16.0-cp27-none-win_amd64.whl]
    
  3. 最后 pip 对 neupy 很有效:

     pip install neupy 
    

忘掉你之前所做的一切,你需要做的就是在 Windows cmd 中输入这个来从 Pypi 安装 neupy。

pip install neupy 

如果您需要更多信息,请参阅此处:https://pypi.python.org/pypi/neupy