Article ID: 000095724 Content Type: Error Messages Last Reviewed: 07/11/2023

Unable to Import OpenVINO™ Runtime API after Installing OpenVINO™ from PyPI*

BUILT IN - ARTICLE INTRO SECOND COMPONENT
Summary

Do not name Python* script as 'openvino'

Description
  • Ran Python* script to import OpenVINO™ Runtime API.
  • Encountered error:

builtins.ModuleNotFoundError: No module named 'openvino.runtime'; 'openvino' is not a package

Resolution

The encountered error is due to the Python* script name openvino.py conflicts with the OpenVINO™ package name.

 

Rename Python* script to any other name except ‘openvino’.

Related Products

This article applies to 1 products