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.
6559 Discussions

OpenVINO Python version (2024.1.0-15008-f4afc983258-releases/2024/1) mismatches with OpenVINO Runtim

Samarth2
Beginner
798 Views

Hi team

While executing openvino yolo v3 model i ended with this error

kindly help us in solving this error

 

ImportError Traceback (most recent call last)
File ~/YOLOv3/object_detection_demo_yolov3_async.py:27
24 from time import time
26 import cv2
---> 27 from openvino.inference_engine import IENetwork, IECore
29 basicConfig(format="[ %(levelname)s ] %(message)s", level=logging.INFO, stream=sys.stdout)
30 log = logging.getLogger()

File /opt/intel/oneapi/intelpython/openvino_2024.1.0/python/openvino/__init__.py:21
13 pass
15 # #
16 # # OpenVINO API
17 # # This __init__.py forces checking of runtime modules to propagate errors.
18 # # It is not compared with init files from openvino-dev package.
19 # #
20 # Import all public modules
---> 21 from openvino import runtime as runtime
22 from openvino import frontend as frontend
23 from openvino import helpers as helpers

File /opt/intel/oneapi/intelpython/openvino_2024.1.0/python/openvino/runtime/__init__.py:8
5 """openvino module namespace, exposing factory functions for all ops and other classes."""
6 # noqa: F401
----> 8 from openvino._pyopenvino import get_version
10 __version__ = get_version()
12 # Openvino pybind bindings and python extended classes

ImportError: Check 'versions_compatible' failed at ../../repos/openvino/src/bindings/python/src/pyopenvino/pyopenvino.cpp:93:
OpenVINO Python version (2024.1.0-15008-f4afc983258-releases/2024/1) mismatches with OpenVINO Runtime library version (2024.1.0-33-20d7ce923d1). It can happen if you have 2 or more different versions of OpenVINO installed in system. Please ensure that environment variables (e.g. PATH, PYTHONPATH) are set correctly so that OpenVINO Runtime and Python libraries point to same release.

0 Kudos
1 Reply
Megat_Intel
Moderator
755 Views

Hi Samarth2,

Thank you for reaching out to us.

 

We noticed you have posted a similar question in this thread. Therefore, this thread will no longer be monitored, and we will continue to support you in this thread.

 

 

Regards,

Megat


0 Kudos
Reply