是否可以使用p7 python发行版安装SciPy?

我在将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/”不存在所有.

我也尝试使用setup.py脚本安装NumPy的1.8.0和1.8.1版本,但出现以下错误消息:

    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开发版本中的python.h.

我已经尝试向维护该程序的人员发送消息,但他们还没有回复我.

我可以做些什么来安装SciPy?

提前致谢,

解决方法:

据我所知,pSeven的现代版本包含SciPy的最新版本(0.14.0).
这是证据:

上一篇:Matlab中的稀疏矩阵向量乘法是否比Python中更快?


下一篇:Python程序的脏并行化