I have installed OpenCV and and access it with Python 2. However, I'm unable to use OpenCV with Python 3.
It says "Cannot open shared object".
ImportError: libQTtest.so.4: cannot open shared object file: no such file or directory
I have tried
sudo cat /usr/local/lib and some other commands but I still can't get it to work.
How do I share OpenCV with Python 3 on a Raspberry Pi 3 B+?
I have also tried following the steps at https://github.com/cmusphinx/pocketsphinx-python/issues/6 and I have read this.