0

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?

blackraven
  • 5,284
  • 7
  • 19
  • 45
진유훈
  • 5
  • 3

1 Answers1

0

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.

tomdol
  • 381
  • 3
  • 14
  • Thanks !, I solved it in the following way set PATH=C:/USERS/USER/AppData/Roaming/Python/Python38/site-packages/openvino/libs;%PATH% and I know how to add it to environment variable. – 진유훈 Aug 19 '22 at 06:56