Hi, I was using `opencv` as usual on devcloud but today I got this error:
(my_env) uxxxxxx@s001-n121:~$ python Python 3.6.3 |Intel Corporation| (default, Feb 12 2018, 06:37:09) [GCC 4.8.2 20140120 (Red Hat 4.8.2-15)] on linux Type "help", "copyright", "credits" or "license" for more information. Intel(R) Distribution for Python is brought to you by Intel Corporation. Please check out: https://software.intel.com/en-us/python-distribution >>> import cv2 Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: libprotobuf.so.12: cannot open shared object file: No such file or directory
I started a new env to see if my current env is the problem and followed the steps from this question:
and got the same result.
`pip install opencv-python`
`conda install -c anaconda opencv`
OpenCV DNN module is "opencv_dnn" (not "opencv_dnn_modern").
"opencv_dnn_modern" is disabled in default build of OpenCV.
To force custom pre-built protobuf library you need to pass these CMake variables:
(should work fine after merging of #10092)
virtualdvid, Thank you for posting in the Intel® Communities Support.
In order for you to receive the most accurate assistance on this matter you can always visit, sign in and submit your inquiry in our Intel® Software support site:
Or you can also post your question in our Intel® Developer Zone for forums support for further peer to peer assistance on this topic:
Intel Customer Support Technician
A Contingent Worker at Intel