Ask Your Question

Revision history [back]

cv2 ImportError ubuntu

Hi all,

I am working on ubuntu 64-bit, I installed anaconda, and then opencv. When I try to import cv2 from spyderIDE, I got this:

ImportError: /home/jaimebayes/anaconda/bin/../lib/libm.so.6: version `GLIBC_2.15' not found (required by /usr/lib/x86_64-linux-gnu/libxvidcore.so.4)

I try several solutions to this, but none works. Could it be for this? cv2.so is located in: /usr/lib/python2.7/dist-packages/cv2.so but when I type which python, i got this: /home/jaimebayes/anaconda/bin/python Maybe Anaconda doesnt have access to cv2.so there?

any suggestions?

thanks in advance, Jaime