There are already some answers for this question, but nothing is working for me. I am using Kali Linux, have anaconda 4.3.1 and python 2.7.13 installed. Initially, I was able to import cv2. Now, it is giving me an error if I try to import it.Traceback (most recent call last):    File <stdin>, line 1, in <module>  ImportError: /usr/lib/x86_64-linux-gnu/libpangoft2-1.0.so.0: undefined symbol: hb_buffer_set_cluster_level  I installed gimp and pinta in between. Could it be because of those. I have due dates for project coming.
Not able to import cv2 in python2
kali linux;python;opencv