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.

ImportError: No module named 'openvino'

zcd__zcd
Beginner
1,212 Views

Hi!

     The following is a problem I have encountered, has been solved, written here for friends who need to refer to. My running platform is raspi, when I execute the samples, the prompt 'ImportError: No module named 'openvino', I have Executed 'xx/bin/setupvars.sh', in fact, another reason that raspi caused the failure to find 'openvino' is that the current system information, sys.path is missing a correct path, such as '/opt/ Intel/openvino/python/python3.5/armv7l', the default setting is '/opt/intel/openvino/python/python3.5', so 'ie_api.so' cannot be found, so the API provided by openvino cannot be used. of.

0 Kudos
2 Replies
jsmit119
Beginner
1,212 Views

when run the .py, do not use[sudo]

0 Kudos
Shubha_R_Intel
Employee
1,212 Views

Dear zcd,

I answered your question in your other forum post

${PYTHONPATH}:/home/pi/inference_engine_vpu_arm/python/python3.5/armv7l
directory needs to get added to your PYTHONPATH, it has gone missing between 2018R5 and 2019R1 and will cause the modules to not be found.

Hope it helps,

Thanks !

Shubha

0 Kudos
Reply