When I run python script by command sudo python script.py I get error in the line
from openvino.inference_engine import IENetwork, IECore
The error is
ImportError: No module named openvino.inference_engine
But When I open the python shell and run
from openvino.inference_engine import IENetwork, IECore
I don't get this error.
What is the reason for the difference and how to fix this error?