Permanently Set OpenVINO™ Toolkit Environment Variables for Windows*

Documentation

Install & Setup

000033440

01/30/2024

You can manually set OpenVINO™ Environment Variables permanently in Windows® 10 or Windows® 11. On your Windows* 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_2023.3.0 Path to your OpenVINO™ toolkit installation
OpenVINO_DIR %INTEL_OPENVINO_DIR%\runtime\cmake  
ngraph_DIR %INTEL_OPENVINO_DIR%\runtime\cmake  
OPENVINO_LIB_PATHS

%INTEL_OPENVINO_DIR%\runtime\3rdparty\tbb\bin
%INTEL_OPENVINO_DIR%\runtime\3rdparty\tbb\bin\intel64\vc14
%INTEL_OPENVINO_DIR%\runtime\3rdparty\tbb\redist\intel64\vc14
%INTEL_OPENVINO_DIR%\runtime\bin\intel64\Release
%INTEL_OPENVINO_DIR%\runtime\bin\intel64\Debug

Entries to OPENVINO_LIB_PATHS
InferenceEngine_DIR %INTEL_OPENVINO_DIR%\runtime\cmake  
PYTHONPATH

%INTEL_OPENVINO_DIR%\python
%INTEL_OPENVINO_DIR%\python\python3

 
SCRIPT_NAME setupvars.bat  
TBB_DIR %INTEL_OPENVINO_DIR%\runtime\3rdparty\tbb\lib\cmake\tbb
 
 

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

Entry Notes
%INTEL_OPENVINO_DIR%\runtime\3rdparty\tbb\bin  
%INTEL_OPENVINO_DIR%\runtime\3rdparty\tbb\bin\intel64\vc14  
%INTEL_OPENVINO_DIR%\runtime\3rdparty\tbb\redist\intel64\vc14  
%INTEL_OPENVINO_DIR%\runtime\bin\intel64\Release  
%INTEL_OPENVINO_DIR%\runtime\bin\intel64\Debug  
Note This applies to 2023.3 LTS release of OpenVINO™ toolkit.

A system reboot may be required for the changes to take effect.