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

Can't lpad OpenCV library which is required by SimpleCV #685

Open
ramwin opened this issue Apr 18, 2016 · 5 comments
Open

Can't lpad OpenCV library which is required by SimpleCV #685

ramwin opened this issue Apr 18, 2016 · 5 comments

Comments

@ramwin
Copy link

ramwin commented Apr 18, 2016

[#7#wangx@wangxiang-PC:]$sudo apt-get install python-scipy python-numpy python-pygame python-setuptools python-pip python-opencv
Reading package lists... Done
Building dependency tree
Reading state information... Done
python-opencv is already the newest version.
python-pygame is already the newest version.
python-scipy is already the newest version.
python-numpy is already the newest version.
python-setuptools is already the newest version.
python-pip is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
[#8#wangx@wangxiang-PC:
]$simplecv
Traceback (most recent call last):
File "/usr/local/bin/simplecv", line 9, in
load_entry_point('SimpleCV==1.3', 'console_scripts', 'simplecv')()
File "/usr/local/lib/python2.7/dist-packages/pkg_resources/init.py", line 558, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/local/lib/python2.7/dist-packages/pkg_resources/init.py", line 2682, in load_entry_point
return ep.load()
File "/usr/local/lib/python2.7/dist-packages/pkg_resources/init.py", line 2355, in load
return self.resolve()
File "/usr/local/lib/python2.7/dist-packages/pkg_resources/init.py", line 2361, in resolve
module = import(self.module_name, fromlist=['name'], level=0)
File "/usr/local/lib/python2.7/dist-packages/SimpleCV-1.3-py2.7.egg/SimpleCV/init.py", line 3, in
from SimpleCV.base import *
File "/usr/local/lib/python2.7/dist-packages/SimpleCV-1.3-py2.7.egg/SimpleCV/base.py", line 59, in
raise ImportError("Cannot load OpenCV library which is required by SimpleCV")
ImportError: Cannot load OpenCV library which is required by SimpleCV

ubuntu:14.04
python:2.7.6

@ramwin
Copy link
Author

ramwin commented Apr 18, 2016

I create a new virtual machine. And do the same thing, I can import cv2.cv in the virtual machine, but I can't import cv2.cv on my self computer. I tried to uninstall python-opencv and reinstall python-opencv, but it didn't work ethier.

@ramwin
Copy link
Author

ramwin commented Apr 18, 2016

My cv2's version is 3.1.0, and the cv2 in the virtual machine is 2.4.8. It seems that we can't import cv2.cv in the latest Opencv version. But the SimpleCV is using the cv. Is there any thins I miss or just because the SimpleCV can't support the latest python-opencv? I'm using SimpleCV 1.3.0

@ghost
Copy link

ghost commented Aug 2, 2016

I am also facing same issue .
I installed simpleCV from the superpack and get the same error after installation .

Platform : Windows
Python : 2.7.6

@krthr
Copy link

krthr commented Aug 11, 2017

Here too! :/

Traceback (most recent call last):
  File "background.py", line 10, in <module>
    from SimpleCV import *
  File "/Library/Python/2.7/site-packages/SimpleCV-1.3-py2.7.egg/SimpleCV/__init__.py", line 3, in <module>
    from SimpleCV.base import *
  File "/Library/Python/2.7/site-packages/SimpleCV-1.3-py2.7.egg/SimpleCV/base.py", line 59, in <module>
    raise ImportError("Cannot load OpenCV library which is required by SimpleCV")
ImportError: Cannot load OpenCV library which is required by SimpleCV

@bgth
Copy link

bgth commented Nov 11, 2017

Please try installing opencv 2.4.

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

3 participants