我已经下载了Windows的PyDsTool。而且我相信我已将python指向正确的位置。但我收到以下错误
from PyDSTool import *
Traceback (most recent call last):
File "<ipython-input-1-7b811358a37e>", line 1, in <module>
from PyDSTool import *
File "C:\Anaconda\lib\site-packages\pydstool-0.88.140328-py2.7.egg\PyDSTool\__init__.py", line 85, in <module>
from .Events import *
File "C:\Anaconda\lib\site-packages\pydstool-0.88.140328-py2.7.egg\PyDSTool\Events.py", line 13, in <module>
from .Variable import *
File "C:\Anaconda\lib\site-packages\pydstool-0.88.140328-py2.7.egg\PyDSTool\Variable.py", line 10, in <module>
from .utils import *
File "C:\Anaconda\lib\site-packages\pydstool-0.88.140328-py2.7.egg\PyDSTool\utils.py", line 8, in <module>
from .common import *
File "C:\Anaconda\lib\site-packages\pydstool-0.88.140328-py2.7.egg\PyDSTool\common.py", line 53, in <module>
import fixedpickle as pickle
ImportError: No module named fixedpickle
最佳答案
我通过卸载并重新安装anaconda解决了此问题。否则,PyDsTools的安装非常简单。它根本不是真正的安装,只需解压缩zip文件夹并确保它在您的python路径中(还将其父目录添加到python路径中)。这可以通过Spyder IDE完成。点击工具> pythonpath
我从Sourceforge支持线程获得了有关PyDStool项目here的帮助。