Skip To Main Content
Support Knowledge Base

Encountered Error: " No module named 'openvino'." when Running any OpenVINO™ toolkit Sample or Demo

Content Type: Error Messages   |   Article ID: 000059190   |   Last Reviewed: 05/20/2022

Environment

Operating System

Mac OS*, Windows® 10, 64-bit*
Ubuntu* 18.04.x long-term support (LTS), 64-bit Ubuntu 20.04.0 long-term support (LTS), 64-bit Raspbian* Buster, 32-bit Raspbian Stretch, 32-bit Windows® 10 64-bit macOS* 10.15

Description

Executed OpenVINO™ toolkit object detection demo but received error: No module named 'openvino'.

Resolution

For Windows*

Run setupvars.bat in the terminal:

"<INSTALL_DIR>\openvino_<version>\bin\setupvars.bat"

For Linux*, macOS*, and Raspbian* OS

Run setupvars.sh in the terminal:

source /opt/intel/openvino_<version>/bin/setupvars.sh

Additional information

Run setupvars script for every new terminal because OpenVINO™ toolkit environment variables are removed when the terminal is closed.

Related Products

This article applies to 4 products.
Intel® Xeon Phi™ Processor Software OpenVINO™ toolkit Performance Libraries

Discontinued Products

Intel® Developer Cloud for the Edge