5 Replies Latest reply on Jan 27, 2015 4:11 PM by Paridhi_Agrawal

    python-opencv can't import cv2

    LouieTsai

      Hi

       

      I build an full image for Galileo, and want to use python-opencv for some detection things.

      However, I tried to import cv2 for python-opencv but failed with below errors.

      is there any possible fix for that?

      thanks a lot!

       

       

      root@clanton:~# python

      Python 2.7.3 (default, May 10 2014, 15:49:21)

      [GCC 4.7.2] on linux2

      Type "help", "copyright", "credits" or "license" for more information.

      >>> import cv2

      /usr/bin/python2.7: symbol 'th_comment_query_count': can't resolve symbol in lib '/usr/lib/libtheoraenc.so.1'.

      Traceback (most recent call last):

        File "<stdin>", line 1, in <module>

      ImportError: unknown dlopen() error

      >>>