Intel® DevCloud
Help for those needing help starting or connecting to the Intel® DevCloud
1055 Discussions

import cv2 error while loading my python file

Tchouanga__Franck
442 Views

(franck) u38804@s001-n001:~/nd131-openvino-fundamentals-project-starter$ python main.py -i resources/Pedestrian_Detect_2_1_1.mp4 -m frozen_inference_graph.xml -l /opt/intel/openvino/deployment_tools/inference_engine/lib/intel64/libcpu_extension_sse4.so -d CPU -pt 0.4 | ffmpeg -v warning -f rawvideo -pixel_format bgr24 -video_size 768x432 -framerate 24 -i - http://0.0.0.0:3004/fac.ffm
Traceback (most recent call last):
  File "main.py", line 24, in <module>
    import cv2
ImportError: /glob/development-tools/versions/oneapi/beta06/openvino_2020.2.120/deployment_tools/inference_engine/lib/intel64/libinference_engine.so: undefined symbol: _ZN3tbb8internal13numa_topology4fillEPi

0 Kudos
4 Replies
JananiC_Intel
Moderator
442 Views

Hi,

Thanks for reaching out.Kindly follow the below steps 

1)Create a conda environment using

conda create --name myenv

then activate your new environment using 

conda activate myenv

2)After activating the environment install opencv using 

conda install -c conda-forge opencv

Try the above the steps and then run your python file.

Hope this helps!

 

JananiC_Intel
Moderator
442 Views

Hi,

Could you please give us an update whether the issue got resolved?

Tchouanga__Franck
442 Views

it worked fine thanks a lot you are the best sorry for late response

JananiC_Intel
Moderator
442 Views

Hi,

Thanks for the confirmation.We are closing the case.

Please feel free to raise a new thread, if you face any further issues.

Reply