Skip To Main Content
Support Knowledge Base

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

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

Environment

OpenVINO™ 2021.3

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

Related Products

This article applies to 3 products.
Intel® Xeon Phi™ Processor Software OpenVINO™ toolkit Performance Libraries