我已安装PyDSTool包:

pip install PyDSTool==0.90.2

它返回:
Requirement already satisfied: PyDSTool==0.90.2 in /usr/local/lib/python2.7/dist-packages/PyDSTool-0.90.2-py2.7.egg
Requirement already satisfied: six in /usr/local/lib/python2.7/dist-packages (from PyDSTool==0.90.2)
Requirement already satisfied: scipy>=0.9 in /usr/local/lib/python2.7/dist-packages (from PyDSTool==0.90.2)
Requirement already satisfied: numpy>=1.6 in /usr/local/lib/python2.7/dist-packages (from PyDSTool==0.90.2)

它告诉我,scipy的需求已经满足了,但是在python中:
~$ python
Python 2.7.12 (default, Dec  4 2017, 14:50:18)
[GCC 5.4.0 20160609] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import PyDSTool
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python2.7/dist-packages/PyDSTool-0.90.2-py2.7.egg/PyDSTool/__init__.py", line 76, in <module>
    raise RuntimeError("SciPy v0.5.1 or above is required")
RuntimeError: SciPy v0.5.1 or above is required

我已经尝试了this post中的解决方案,也看到了this unanswered post似乎有类似的问题,但使用conda而不是pip
编辑:
我也尝试下载软件包并安装相关的setup.py,但我仍然有同样的问题
编辑2:
要解决此问题,另一个选项是降级scipy
pip install scipy==0.19.1

最佳答案

sourceforge的PyDSTool项目主页已关闭:http://pydstool.sourceforge.net/指向返回“找不到文件”的http://www.ni.gsu.edu/~rclewley/PyDSTool/FrontPage.html
项目已转移到GitHub:https://github.com/robclewley/pydstool
有几个问题与你的一致。问题是,目前,SciPy的integrate模块的开发已经中断了PyDSTool的调用。
一种解决方案:使用旧版本的SciPy。可供选择的方法是要么找到自己的失败点,要么在这里使用叉子:https://github.com/tkf/pydstool/tree/tkf

08-24 13:34