Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

import cv2.cv no longer works with OpenCV 3.4.1 #716

Open
e-razorhead opened this issue Jun 2, 2018 · 1 comment
Open

import cv2.cv no longer works with OpenCV 3.4.1 #716

e-razorhead opened this issue Jun 2, 2018 · 1 comment

Comments

@e-razorhead
Copy link

In base.py,
try: import cv2.cv as cv except ImportError: try: import cv except ImportError: raise ImportError("Cannot load OpenCV library which is required by SimpleCV")

Since the newest OpenCV only support import cv2, should this part be updated?

@xzhws
Copy link

xzhws commented Oct 19, 2018

I got this problem today. But now I solved it, as far as I think, it is possiblely that you did not install 'python-opencv'. Remember to install all the reliable packages.

sudo apt-get install ipython python-opencv python-scipy python-numpy python-pygame python-setuptools git

If you counld not install all of them, Just 'sudo apt-get update', and then try again to install the above packages. If this operation can not make either, use 'sudo pip install'. Hope you can solve it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants