关于SimpleCV和opencv的问题

环境为mac下的py2.7,在使用simplecv的时候出现提示:ImportError: Cannot load OpenCV library which is required by SimpleCV
jupyter的提示为:

/Users/sapphire/_Work space/颈动脉/图像分类代码/featuresHOG.py in ()
5 import numpy as np
6 import cv2 # opencv 2
----> 7 from SimpleCV import *
8 import skimage
9

/Users/sapphire/anaconda/envs/python27/lib/python2.7/site-packages/SimpleCV/__init__.py in ()
1 version = '1.3.0'
2
----> 3 from SimpleCV.base import *
4 from SimpleCV.Camera import *
5 from SimpleCV.Color import *

/Users/sapphire/anaconda/envs/python27/lib/python2.7/site-packages/SimpleCV/base.py in ()
57 import cv
58 except ImportError:
---> 59 raise ImportError("Cannot load OpenCV library which is required by SimpleCV")
60
61 #optional libraries

ImportError: Cannot load OpenCV library which is required by SimpleCV

请问该如何解决这个问题?

1个回答

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问