Article ID: 000093101 Content Type: Error Messages Last Reviewed: 02/28/2023

“No Module Named ‘openvino.runtime’” When Running OpenVINO™ 2021.3 Inference on Raspberry Pi

Environment

OpenVINO™ 2021.3

BUILT IN - ARTICLE INTRO SECOND COMPONENT
Summary

New OpenVINO™ API 2.0 is introduced starting from OpenVINO™ version 2022.1

Description
  • Build OpenVINO™ 2021.3 from source on Raspberry Pi.
  • Ran OpenVINO™ inference and received the error message:
    ModuleNotFoundError: No module named 'openvino.runtime'.
Resolution

Starting from OpenVINO™ 2022.1, a new OpenVINO™ API 2.0 is introduced. The 'openvino.runtime' module is used to create a Core Object in the new OpenVINO™ API 2.0 Inference Engine Pipeline. While OpenVINO™ 2021.3 uses the previous Inference Engine Pipeline API.

Build OpenVINO™ starting from 2022.1 from source to use OpenVINO™ API 2.0. 

Additional information

Refer to Changes to Inference Pipeline in OpenVINO™ API v2.

Related Products

This article applies to 1 products