Permanently Set OpenVINO™ toolkit Environment Variables for Windows® 10

Documentation

Install & Setup

000033440

07/30/2021

You can manually set OpenVINO™ Environment Variables permanently in Windows® 10. On your Windows® 10 system, go to Control Panel > System and Security > System > Advanced System Settings > Environment Variables. Under System Variables, Add the following as New variables with their corresponding Value as shown below:

Variable Name Variable Value Notes
INTEL_OPENVINO_DIR C:\Program Files (x86)\Intel\openvino_2021.4.582 Path to your OpenVINO™ toolkit installation
GNA_DIR %INTEL_OPENVINO_DIR%\deployment_tools\inference_engine\external\gna\lib  
INTEL_CVSDK_DIR %INTEL_OPENVINO_DIR%  
ngraph_DIR %INTEL_OPENVINO_DIR%\deployment_tools\ngraph\cmake  
OpenCV_DIR %INTEL_OPENVINO_DIR%\opencv\cmake  
OPENMP_DIR %INTEL_OPENVINO_DIR%\deployment_tools\inference_engine\external\omp\lib  
OPENVINO_LIB_PATHS %INTEL_OPENVINO_DIR%\deployment_tools\ngraph\lib
%INTEL_OPENVINO_DIR%\deployment_tools\inference_engine\external\tbb\bin
%INTEL_OPENVINO_DIR%\deployment_tools\inference_engine\bin\intel64\Release
%INTEL_OPENVINO_DIR%\deployment_tools\inference_engine\bin\intel64\Debug
%INTEL_OPENVINO_DIR%\deployment_tools\inference_engine\external\hddl\bin
%INTEL_OPENVINO_DIR%\deployment_tools\inference_engine\external\omp\lib
%INTEL_OPENVINO_DIR%\deployment_tools\inference_engine\external\gna\lib
Entries to OPENVINO_LIB_PATHS
InferenceEngine_DIR %INTEL_OPENVINO_DIR%\deployment_tools\inference_engine\share  
HDDL_INSTALL_DIR %INTEL_OPENVINO_DIR%\deployment_tools\inference_engine\external\hddl  
PYTHONPATH %INTEL_OPENVINO_DIR%\deployment_tools\tools\post_training_optimization_toolkit
%INTEL_OPENVINO_DIR%\deployment_tools\open_model_zoo\tools\accuracy_checker
%INTEL_OPENVINO_DIR%\python\python3.8
%INTEL_OPENVINO_DIR%\python\python3
%INTEL_OPENVINO_DIR%\deployment_tools\model_optimizer
Check your Python* version and Adjust entries
ROOT %INTEL_OPENVINO_DIR%  
SCRIPT_NAME setupvars.bat  
TBB_DIR %INTEL_OPENVINO_DIR%\deployment_tools\inference_engine\external\tbb\cmake
 
 

You will also need to edit the Path variable under System Variables and Add the following entries:

%INTEL_OPENVINO_DIR%\deployment_tools\ngraph\lib
%INTEL_OPENVINO_DIR%\deployment_tools\inference_engine\external\tbb\bin
%INTEL_OPENVINO_DIR%\deployment_tools\inference_engine\bin\intel64\Release
%INTEL_OPENVINO_DIR%\deployment_tools\inference_engine\bin\intel64\Debug
%INTEL_OPENVINO_DIR%\deployment_tools\inference_engine\external\hddl\bin
%INTEL_OPENVINO_DIR%\deployment_tools\inference_engine\external\omp\lib
%INTEL_OPENVINO_DIR%\deployment_tools\inference_engine\external\gna\lib
%INTEL_OPENVINO_DIR%\deployment_tools\model_optimizer
%INTEL_OPENVINO_DIR%\opencv\bin

 

Note This applies to 2021.4 release of OpenVINO™ toolkit.
  A system reboot may be required for the changes to take effect.