I get the following error when importing opencv in python:
> python
>>> import cv2
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
The system is Linux debian 4.7.0-1-amd64, stretch. I have created an environment for Python 3 in Anaconda:
conda create --name=envPython3 python=3 anaconda
source activate envPython3
and then installed OpenCV:
conda install -c https://conda.anaconda.org/menpo opencv3
It should be installed because
conda list | grep cv
returns
opencv3 3.1.0 py35_0 menpo
Everything works fine with Python 2