使用SimpleCV时出现奇怪的ghull错误
在 [2]: import SimpleCV
ImportError Traceback (most recent call last)
C:\Users\root\<ipython-input-2-d3da1d75bea1> in <module>()
----> 1 import SimpleCV
C:\Users\root\build\bdist.win32\egg\SimpleCV\__init__.py in <module>()
C:\Users\root\build\bdist.win32\egg\SimpleCV\base.py in <module>()
C:\Python27\lib\site-packages\scipy\spatial\__init__.py in <module>()
25 from kdtree import *
26 from ckdtree import *
---> 27 from qhull import *
28
29 __all__ = filter(lambda s:not s.startswith('_'),dir())
ImportError: DLL load failed: The specified module could not be found.
有人知道我为什么会出现这个错误吗?这个qhull包是什么,我不知道怎么在Python中安装它。它应该是和scipy一起提供的吧?在另一台装有Python 2.6的电脑上我没有这个问题?
更新:我尝试重新安装scipy,结果还是同样的问题。我发现问题出在qhull.pyd缺少依赖的DLL文件,它提示说msvcr90.dll缺失,但我在system32文件夹里有这个文件,但它却在本地目录里找?有人知道怎么解决这个问题吗?
2 个回答
0
访问这个网址:http://www.lfd.uci.edu/~gohlke/pythonlibs/
需要安装 Numpy-MKL
0
看起来你电脑上的SciPy安装出了点问题,我建议你重新安装一下SciPy,记得选择合适的版本,链接在这里:http://sourceforge.net/projects/scipy/files/scipy/0.10.0/。
另外,SimpleCV是支持Python 2.6和2.7的,但不支持Python 3.X版本。