python – ImportError:在Windows 7上运行PyDsTool时没有名为fixedpickle的模块
作者:互联网
我已经下载了适用于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
我从Pyfortool项目here的Sourceforge支持线程获得了一些帮助
标签:python,scientific-computing 来源: https://codeday.me/bug/20191007/1865499.html