Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Zerihun__Bisrat
Beginner
1,435 Views

ImportError: libinference_engine.so

I installed OpenVINO toolkit on Ubuntu 16.04 LTS and I set up all the required environment variables accordingly but I am still getting the following error:

```

from openvino.inference_engine import IENetwork, IECore
  File "/opt/intel/openvino_2020.1.023/python/python3.6/openvino/inference_engine/__init__.py", line 1, in <module>
    from .ie_api import *
ImportError: libinference_engine.so: cannot open shared object file: No such file or directory

```

I have checked both $PATH and $LD_LIBRARY_PATH and everything looks good. Also, I run ``` ./demo_squeezenet_download_convert_run.sh ``` to verify correct installation and it worked properly.

What am I doing wrong ? 

0 Kudos
3 Replies
JAIVIN_J_Intel
Employee
1,435 Views

Hi Bisrat,

This issue could be due to a conflict between python versions.

Please try setting up the environment with certain version of Python*, for example:

source <INSTALL_DIR>/bin/setupvars.sh -pyver 3.6

Hope this helps.

Regards,

Jaivin

Adam_44
Novice
1,435 Views

I have a similar issue.

I've just installed openvino toolkit.

ubuntu 18.04
Python 3.7.3
openvino_2020.2.120

During installation verification scripts run successfully.

when I try to run python demos I got this:

[setupvars.sh] OpenVINO environment initialized
(base) ...:/opt/intel/openvino/deployment_tools/inference_engine/demos/python_demos/human_pose_estimation_3d_demo$ python human_pose_estimation_3d_demo.py
Traceback (most recent call last):
  File "human_pose_estimation_3d_demo.py", line 19, in <module>
    import cv2
ImportError: /opt/intel/openvino_2020.2.120/deployment_tools/inference_engine/lib/intel64/libinference_engine.so: undefined symbol: _ZN3tbb8internal13numa_topology4fillEPi

s_rad
Beginner
1,417 Views

Ubuntu 16.04

python 2.7

openvino 2019 R3.1

I am also getting similar issue when I want to run a python example of openvino. Even when I source my openvino environment with the right python version (source /opt/intel/openvino/bin/setupvars.sh -pyver 2.7).

Here is the error I receive:

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

 

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.

Reply