Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
184 Views

ImportError: DLL load failed: The specified module could not be found

Jump to solution

when I run a python file contains

from openvino.inference_engine import IENetwork, IEPlugin,IECore

  I got this error

"C:/Program Files (x86)/IntelSWTools/openvino/python/python3.7/openvino/inference_engine/__init__.py", line 1, in <module>
from .ie_api import *
ModuleNotFoundError: No module named '__main__.ie_api'; '__main__' is not a package

 I did every step in  

https://www.intel.com/content/www/us/en/support/articles/000033440/boards-and-kits/neural-compute-st...

I use openvino_2020.3.194 , python 3.7 and Windows 10

 

 
0 Kudos

Accepted Solutions
Highlighted
Moderator
129 Views

Re:ImportError: DLL load failed: The specified mod...

Jump to solution

Greetings,


Please note that each time before running the sample(if you close your cmd/powershell), you need to re-run setupvars.bat from

cd C:\Program Files (x86)\IntelSWTools\openvino\bin\


 after that, you can run 'python3 yourfile.py' in this cmd window


You can refer Openvino official tutorial here:

https://software.intel.com/content/www/us/en/develop/tools/openvino-toolkit/get-started.html



Hope my answer helps!

Sincerely,

Iffa



View solution in original post

0 Kudos
2 Replies
Highlighted
Moderator
130 Views

Re:ImportError: DLL load failed: The specified mod...

Jump to solution

Greetings,


Please note that each time before running the sample(if you close your cmd/powershell), you need to re-run setupvars.bat from

cd C:\Program Files (x86)\IntelSWTools\openvino\bin\


 after that, you can run 'python3 yourfile.py' in this cmd window


You can refer Openvino official tutorial here:

https://software.intel.com/content/www/us/en/develop/tools/openvino-toolkit/get-started.html



Hope my answer helps!

Sincerely,

Iffa



View solution in original post

0 Kudos
Highlighted
Beginner
119 Views

Re: Re:ImportError: DLL load failed: The specified mod...

Jump to solution

thanks, it works

0 Kudos