Intel® Distribution of OpenVINO™ Toolkit
Community assistance about the Intel® Distribution of OpenVINO™ toolkit, OpenCV, and all aspects of computer vision-related on Intel® platforms.
6480 Discussions

ModuleNotFoundError: No module named 'openvino'

IanHacker
Beginner
1,282 Views

I'd like to run some official OpenVINO samples (like this), but I always get the following error:

from openvino.inference_engine import IECore
ModuleNotFoundError: No module named 'openvino'

Why do I get this error?

 

I'm testing on Raspberry Pi 3B with Movidius Neural Compute Stick 1 (NCS1).
The OS is Raspberry Pi OS 32-bit (Legacy) Buster (because Bullseye doesn't support NCS1).
OpenVINO Version is l_openvino_toolkit_runtime_raspbian_p_2020.3.194.tgz,
which is the last version that can support NCS1.

Here's the procedure to set up my OpenVINO:

sudo mkdir -p /opt/intel/openvino
mkdir ~/download
cd ~/download
wget https://storage.openvinotoolkit.org/repositories/openvino/packages/2020.3/l_openvino_toolkit_runtime_raspbian_p_2020.3.194.tgz
sudo tar -xf l_openvino_toolkit_runtime_raspbian_p_2020.3.194.tgz --strip 1 -C /opt/intel/openvino
echo "source /opt/intel/openvino/bin/setupvars.sh" >> ~/.bashrc
source /opt/intel/openvino/bin/setupvars.sh
sudo usermod -a -G users "$(whoami)"
sh /opt/intel/openvino/install_dependencies/install_NCS_udev_rules.sh
cd /opt/intel/openvino/deployment_tools/inference_engine/samples/python/
pip install -r requirements.txt

I think I followed the installation instruction.

Is there any way to check if my OpenVINO installation is correct?

1 Solution
Wan_Intel
Moderator
1,218 Views

Hi IanHacker,

Thanks for reaching out to us.

I encountered the same error when importing IECore with l_openvino_toolkit_runtime_raspbian_p_2020.3.194.tgz.

failed.png 

 

Please use l_openvino_toolkit_runtime_raspbian_p_2020.3.355.tgz to solve this issue.

ok.png 

 

 

Regards,

Wan

 

View solution in original post

0 Kudos
3 Replies
Wan_Intel
Moderator
1,219 Views

Hi IanHacker,

Thanks for reaching out to us.

I encountered the same error when importing IECore with l_openvino_toolkit_runtime_raspbian_p_2020.3.194.tgz.

failed.png 

 

Please use l_openvino_toolkit_runtime_raspbian_p_2020.3.355.tgz to solve this issue.

ok.png 

 

 

Regards,

Wan

 

0 Kudos
IanHacker
Beginner
1,197 Views

Hi Wan,

 

Yes, it works!

Thank you verrry much!

You can close this thread, if you want.

I love Intel!

 

Best regards,

Ian

Wan_Intel
Moderator
1,188 Views

Hi IanHacker,

Thanks for your support.

This thread will no longer be monitored since the issue has been resolved. If you need additional information, please submit a new question and we'll be happy to help.

 

 

Regards,

Wan

 

0 Kudos
Reply