Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
45 Views

import cv2 error while loading my python file

(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

Tags (1)
0 Kudos
4 Replies
Highlighted
Moderator
45 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!

 

0 Kudos
Highlighted
Moderator
45 Views

Hi,

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

0 Kudos
Highlighted
45 Views

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

0 Kudos
Highlighted
Moderator
45 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.

0 Kudos