我在将SciPy安装到预先构建的python发行版时遇到问题。 python发行版带有一个名为p7的程序(由DATADVANCE提供)。 python版本是2.7.7,当前的numpy版本是1.7.1。
下载时已经安装了NumPy,但我也需要SciPy来完成我想要的程序。
我正在尝试使用以下运行的setup.py脚本进行安装:
p7 --run setup.py build
这实际上与:
相同python setup.py build
我曾尝试安装SciPy版本0.11.0,0.12.0和0.13.0,但我仍然遇到同样的错误:
non-existing path in 'scipy/sparse/csgraph': '/home/Ben/DATADVANCE/pSeven-3.1/python/lib/python2.7/site-packages/numpy/core/include'
non-existing path in 'scipy/sparse/csgraph': '/home/Ben/DATADVANCE/pSeven-3.1/python/lib/python2.7/site-packages/numpy/core/include'
non-existing path in 'scipy/sparse/csgraph': '/home/Ben/DATADVANCE/pSeven-3.1/python/lib/python2.7/site-packages/numpy/core/include'
non-existing path in 'scipy/sparse/csgraph': '/home/Ben/DATADVANCE/pSeven-3.1/python/lib/python2.7/site-packages/numpy/core/include'
non-existing path in 'scipy/spatial': '/home/Ben/DATADVANCE/pSeven-3.1/python/lib/python2.7/site-packages/numpy/core/include'
non-existing path in 'scipy/spatial': '/home/Ben/DATADVANCE/pSeven-3.1/python/lib/python2.7/site-packages/numpy/core/include'
non-existing path in 'scipy/special': '/home/Ben/DATADVANCE/pSeven-3.1/python/lib/python2.7/site-packages/numpy/core/include'
non-existing path in 'scipy/special': '/home/Ben/DATADVANCE/pSeven-3.1/python/lib/python2.7/site-packages/numpy/core/include'
!!! [Interpreter] PkgNotFound: Could not find file(s) ['/home/Ben/DATADVANCE/pSeven-3.1/python/lib/python2.7/site-packages/numpy/core/lib/npy-pkg-config/npymath.ini']
我已检查目录和文件夹“/home/Ben/DATADVANCE/pSeven-3.1/python/lib/python2.7/site-packages/numpy/core/lib/npy-pkg-config/”doesn' t存在。
我还尝试使用setup.py脚本安装版本1.8.0和1.8.1的NumPy,但是收到此错误消息:
non-existing path in 'numpy/distutils': 'site.cfg'
/bin/sh: svnversion: command not found
F2PY Version 2
!!! [Interpreter] AttributeError: 'Configuration' object has no attribute 'add_define_macros'
除此之外,我尝试了numpy 1.7.2并且它稍微进一步但停止了因为它显然需要python.h来自不存在的python的开发版本。
我曾试图向维护该计划的人发消息,但他们还没有回复我。
我可以做些什么让SciPy安装?
提前致谢, 本
答案 0 :(得分:4)
据我所知,pSeven的现代版本包含SciPy的最新版本(0.14.0)。 这是证明: