Option A. Execute manually setup.sh script.
For manual execution of script, run the following commands in a Linux terminal window:
$ source /opt/intel/openvino_2021.4.689/setupvars.sh
$ cd /opt/intel/openvino_2021.4.689/deployment_tools/inference_engine/external/hddl/drivers
$ sudo setup.sh install
Option B. Install headers and modules for Kernel 5.4.0.
To install headers and modules, run the following commands in a Linux* terminal window:
$ sudo apt-get install linux-headers-5.4.0-117-generic
$ sudo apt-get install linux-modules-extra-5.4.0-117-generic
$ source /opt/intel/openvino_2021.4.689/setupvars.sh
$ cd /opt/intel/openvino_2021.4.689/deployment_tools/inference_engine/external/hddl/drivers
$ /opt/intel/openvino_2021.4.689/deployment_tools/inference_engine/external/hddl/install_IVAD_VPU_dependencies.sh
Refer to section Troubleshooting, in Configuration Guide for the Intel® Distribution of OpenVINO™ toolkit and the Intel® Vision Accelerator Design with Intel® Movidius™ VPUs on Linux*.