Intel® Distribution of OpenVINO™ Toolkit
Community support and discussions about the Intel® Distribution of OpenVINO™ toolkit, OpenCV, and all things computer vision-related on Intel® platforms.
5848 Discussions

while importing IECore, getting filenot found error

muleymakarand
Novice
402 Views

Hi,

 

I am new to openVino. I have installed openvino 2021.3 package

My setup

OS = Windows 10

openVino = 2021.3

python = 3.8

 

Problem=

I am able to convert my RNN model into irfiles. I am trying to do inference.

To check my setup, i ran verification scripts (demo_squeezenet_download_convert_run.bat and demo_security_barrier_camera.bat). Both scripts ran without any error.

 

I have ran setupvars.bat. It ran without any error

To do inference, i am following steps in open model zoo/demos. When i am running following line to import IECore

"from openvino.inference_engine import IECore"

I am getting error as below

----------------------------------------

Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Program Files (x86)\Intel\openvino_2021.3.394\python\python3.8\openvino\inference_engine\__init__.py", line 30, in <module>
os.add_dll_directory(os.path.abspath(openvino_dlls))
File "C:\Users\mrmuley\AppData\Local\Programs\Python\Python38\lib\os.py", line 1105, in add_dll_directory
cookie = nt._add_dll_directory(path)
FileNotFoundError: [WinError 2] The system cannot find the file specified: 'C:\\Program Files (x86)\\Intel\\openvino_2021.3.394\\python\\python3.8\\openvino\\libs'

-----------------------------------------------------------------------------------

Any idea why am I seeing this error?

 

 



 

0 Kudos
1 Solution
Wan_Intel
Moderator
378 Views

Hi Makarand Muley,

Thanks for reaching out to us.


There are some issues for Python 3.8 to work in OpenVINO™ 2021.3.

This issue has been fixed and will be available for the next distribution release which is OpenVINO™ 2021.4.


For now, there are three options for you:


Option 1: Downgrade the Python version to Python 3.7.

Option 2: Wait for the release of OpenVINO™ 2021.4, which is coming soon.

Option 3: Download the OpenVINO™ GitHub version and compile it for windows by following this WIKI.



Regards,

Wan


View solution in original post

2 Replies
Wan_Intel
Moderator
379 Views

Hi Makarand Muley,

Thanks for reaching out to us.


There are some issues for Python 3.8 to work in OpenVINO™ 2021.3.

This issue has been fixed and will be available for the next distribution release which is OpenVINO™ 2021.4.


For now, there are three options for you:


Option 1: Downgrade the Python version to Python 3.7.

Option 2: Wait for the release of OpenVINO™ 2021.4, which is coming soon.

Option 3: Download the OpenVINO™ GitHub version and compile it for windows by following this WIKI.



Regards,

Wan


Wan_Intel
Moderator
348 Views

Hi Makarand Muley,

Thank you for using OpenVINO™ Toolkit.


This thread will no longer be monitored since this issue has been resolved. 

If you need any additional information from Intel, please submit a new question.


Regards,

Wan


Reply