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

OpenCV runtime error #14

Closed
CChamper opened this issue Feb 26, 2018 · 8 comments
Closed

OpenCV runtime error #14

CChamper opened this issue Feb 26, 2018 · 8 comments
Labels
bug Something isn't working

Comments

@CChamper
Copy link

Keep getting this error, everything is up-to-date.

raceback (most recent call last):
File "answer_bot.py", line 23, in
import cv2
File "/usr/local/lib/python3.6/site-packages/cv2/init.py", line 4, in
from .cv2 import *
ImportError: dlopen(/usr/local/lib/python3.6/site-packages/cv2/cv2.cpython-36m-darwin.so, 2): Symbol not found: _clock_gettime
Referenced from: /usr/local/lib/python3.6/site-packages/cv2/.dylibs/libavutil.55.78.100.dylib (which was built for Mac OS X 10.12)
Expected in: /usr/lib/libSystem.B.dylib
in /usr/local/lib/python3.6/site-packages/cv2/.dylibs/libavutil.55.78.100.dylib

@sushant10
Copy link
Owner

This is a open-CV problem and related to the OS your running. Make sure you have installed opencv correctly.
Which OS are you running?

@CChamper
Copy link
Author

Im on a VM running OS X 10.11

@sushant10
Copy link
Owner

I believe due to some incompatibilities of open-CV it has errors with older macOS and apple changing the clock get time definition. You might have to run it on MacOSX 10.12.

How did you install OpenCV? Using brew?

@CChamper
Copy link
Author

Yeah, it was installed using brew

@sushant10 sushant10 added the bug Something isn't working label Feb 26, 2018
@CChamper
Copy link
Author

I will try and upgrade to 10.12 to see if that makes a difference!

@sushant10
Copy link
Owner

Then i think it is a problem with OS. After looking at many posts i dont know what the solution is other than running it on OS X 10.12 or else might be a VM specific problem

Sorry that im not sure, i hope you figure it out.

@sushant10 sushant10 changed the title Runtime Error OpenCV runtime error Feb 26, 2018
@CChamper
Copy link
Author

The error was fixed when updating to OSX 10.12

@deviharisakthi
Copy link

@CChamper is the bot working for you now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants