openvino 2019 R3.1
I am getting the following error even when I source my openvino environment with the right python version (source /opt/intel/openvino/bin/setupvars.sh -pyver 2.7).
Traceback (most recent call last): File "hello_query_device.py", line 3, in <module> from openvino.inference_engine import IECore File "/opt/intel/openvino_2019.3.376/python/python2.7/openvino/inference_engine/__init__.py", line 1, in <module> from .ie_api import * ImportError: /opt/intel/openvino_2019.3.376/deployment_tools/inference_engine/lib/intel64/libinference_engine.so: undefined symbol: _ZN3tbb10interface78internal15task_arena_base24internal_max_concurrencyEPKNS0_10task_arenaE
I have updated my numpy and cython, as suggested by another thread, but nothing works.
The interesting thing is that I was not receiving this error on a freshly installed system. However, after installing ROS, and some other packages I am getting this error now.
I would appreciate any hints.
Probably you had temporarily set your environment variables which is the :
It's better if you permanently set the environment variables as the OpenVINO environment variables are removed when you close the shell
You can do it as follows:
1.Open the .bashrc file in <user_directory>
2.Add this line to the end of the file:
3.Save and close the file: press the Esc key and type :wq.
4.open a new terminal, You will see [setupvars.sh] OpenVINO environment initialized.
you can find these in here : https://docs.openvinotoolkit.org/latest/_docs_install_guides_installing_openvino_linux.html#set-the-...
Do let me know if this helps
Thank you so much for your quick response.
I am already setting my openvino environment in the bashrc. The problem is for sure not the proper sourcing of openvino, cause it would be a different error (the following) if the the source is not set.
ImportError: No module named openvino.inference_engine
I am not getting this error. I am getting the error in my original post, related to ie_api.
I still cannot solve the issue unfortunately.
Any thoughts on the potential reason behind the issue?