Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Beverly_K_Intel
Employee
300 Views

ModuleNotFoundError: no module named openvino Windows 10

I installed the openvino toolkit (version 2018.5.445). The demo used to verify the installation (demo_squeezenet... etc.) all went fine. I was able to use the model optimizer on my own models.

But I am unable to run the python_samples. If I run classification_sample.py I get the error:

"ModuleNotFoundError: no module named openvino" when the script tries to run import openvino.inference_engine.

I did run the setupvars.bat file and the result of the Get-ChildItem env: in power shell shows  

PYTHONPATH="C:\Intel\computer_vision_sdk_2018.5.445\python\python3.6"

I downloaded  and installed the new (5.456) version today and have the same problem. I did notice that after running setupvars.bat and rebooting, the PYTHONPATH was still set to point to the old version. This makes me think that perhaps setupvars.bat is not working correctly.

I am using Windows 10 and have had success in the past with ubuntu installs with no problems.

 

I finally put this statement into classification_sample.py

sys.path.insert(0,'C:\\Intel\\computer_vision_sdk\\python\\python3.6')

It found openvino.inference_engine but now I get the exact same error found in another topic:

https://software.intel.com/en-us/forums/computer-vision/topic/780751#comment-1933471

which is that it cannot find the ie_api.pyd  dll module. I downloaded the new module suggested in that topic and it still fails to load.

Thanks,

Beverly

 

0 Kudos
1 Reply
rafael_kl
Beginner
300 Views

Hello, I have the exact same error. Could you managed to solve it?

Reply