진유훈
진유훈

Reputation: 5

ImportError: DLL load failed while importing ie_api:

enter image description here

from openvino.inference_engine import IECore()

If IECore() is imported for inferrence through openvino, the above error occurs.

I tried various environment variables and various things, but it didn't work. The imported environment is a virtual environment, but site-package was located in:

C:/USERS/USER/AppData/Roaming/Python/Python38/site-packages/openvino.

How can we solve this case?

Upvotes: 0

Views: 887

Answers (1)

tomdol
tomdol

Reputation: 413

You problably need to call the setupvars.bat script to initialize OpenVINO. Depending on the OV version it can be found directly in the openvino directory or in openvino/bin.

Upvotes: 0

Related Questions