我无法安装程序包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

另外,我遵循了本期中给出的解决方案:https://stackoverflow.com/a/33369271/7492898
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的依赖性:
下载适合您的操作系统的scipy版本和lfd.uci.edu/~gohlke/pythonlibs/\scipy版本
然后输入命令:
pip install [Local File Location]\[Your specific file such as scipy-0.16.0-cp27-none-win_amd64.whl]

最后,pip对neupy很有效:
 pip install neupy

最佳答案

忘记之前做的所有事情,只需在windows cmd中键入此命令即可从pypi安装neupy。

pip install neupy

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

07-25 20:21