Intel® Distribution of OpenVINO™ Toolkit
Community assistance about the Intel® Distribution of OpenVINO™ toolkit, OpenCV, and all aspects of computer vision-related on Intel® platforms.

ImportError in openvino

NisalJ
Beginner
355 Views

Hi, 

 

I'm getting an error,

 

File "/opt/intel/openvino_2021/python/python3.6/openvino/inference_engine/__init__.py", line 30, in <module>
from .ie_api import *
ImportError: /opt/intel/openvino_2021/python/python3.6/openvino/inference_engine/ie_api.so: undefined symbol: PyFPE_jbuf

 

I'm using python3.6,Ubuntu 20.04 and OPENVino2021

0 Kudos
2 Replies
Megat_Intel
Moderator
323 Views

Hi NisalJ,

Thank you for reaching out to us

 

The "undefined symbol: PyFPE_jbuf" error is due to NumPy packages. If you have multiple NumPy packages installed in your system, this would lead to environment conflict. You can refer to the page Numpy undefined symbol: PyFPE_jbuf for more information on this issue. You can check the installed NumPy package details using the command: pip show numpy

 

Here are a few suggestions to solve this issue: 

 

  1. Try removing the conflicted NumPy by uninstalling the unneeded NumPy
  2. Try uninstalling and reinstalling NumPy using the --no-cache-dir command.
  3. Make sure you have installed External Software Dependencies required for OpenVINO 2021.4. 
  4. Run the installation file (./install.sh or ./install_GUI.sh) in the installation package and select the Repair option to repair the OpenVINO package.
  5. Try uninstalling and reinstalling OpenVINO. If you would like to, you can try installing our latest version, OpenVINO 2022.1 release. It is the biggest upgrade for OpenVINO with updated cleaner API, and functional bug fixes.

 


Regards,

Megat


0 Kudos
Megat_Intel
Moderator
303 Views

Hi NisalJ,

This thread will no longer be monitored since we have provided a suggestion. If you need any additional information from Intel, please submit a new question.



Regards,

Megat


0 Kudos
Reply