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

Error “ImportError: DLL Load Failed While Importing Ie_api” When Inferencing with OpenVINO™

Environment

Windows

Windows® 10, 64-bit*

BUILT IN - ARTICLE INTRO SECOND COMPONENT
Summary

Step to configure OpenVINO™ environment.

Description

Received ImportError: DLL load failed while importing ie_api error when inferencing with OpenVINO™.

Resolution

Option 1:
Open the Command Prompt, and run the setupvars.bat batch file to temporarily set OpenVINO™ environment variables:
<INSTALL_DIR>\setupvars.bat

 

Option 2:
Add OpenVINO™ installation path into the environment variable:
%PATH%=C:/USERS/USER/AppData/Roaming/Python/Python38/site-packages/openvino/libs

Additional information

Refer to Configure the Environment.

Related Products

This article applies to 1 products