所以我一直在尝试安装 SimpleCV 一段时间。我终于能够安装 pygame,但现在我遇到了一个新错误。我使用了 pip、easy_install 并克隆了 SimpleCV github 存储库来尝试安装 SimpleCV,但是我从所有人那里得到了这个错误:
ImportError: No module named scipy.ndimage
如果有帮助,这是整个错误消息:
Traceback (most recent call last):
File "/usr/local/bin/simplecv", line 8, in <module>
load_entry_point('SimpleCV==1.3', 'console_scripts', 'simplecv')()
File"/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resource s.py", line 318, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File"/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 2221, in load_entry_point
return ep.load()
File"/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 1954, in load
entry = __import__(self.module_name, globals(),globals(), ['__name__'])
File "/Library/Python/2.7/site-packages/SimpleCV/__init__.py", line 3, in <module>
from SimpleCV.base import *
File "/Library/Python/2.7/site-packages/SimpleCV/base.py", line 22, in <module>
import scipy.ndimage as ndimage
ImportError: No module named scipy.ndimage
如果有一个简单的解决方案,我很抱歉,我一直在尝试和寻找解决方案一个多小时,但没有运气。