Permanently Set OpenVINO™ Toolkit Environment Variables for Windows® 10
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_2022.1.0.643 | Path to your OpenVINO™ toolkit installation |
GNA_DIR | %INTEL_OPENVINO_DIR%\deployment_tools\inference_engine\external\gna\lib | Only if system supports GNA |
OpenVINO_DIR | %INTEL_OPENVINO_DIR%\\runtime\cmake | |
ngraph_DIR | %INTEL_OPENVINO_DIR%\\runtime\cmake | |
OpenCV_DIR | %INTEL_OPENVINO_DIR%\extras\opencv\\cmake | |
OPENVINO_LIB_PATHS | %INTEL_OPENVINO_DIR%\\runtime\3rdparty\tbb\bin | Entries to OPENVINO_LIB_PATHS |
InferenceEngine_DIR | %INTEL_OPENVINO_DIR%\\runtime\cmake | |
HDDL_INSTALL_DIR | %INTEL_OPENVINO_DIR%\\runtime\3rdparty\hddl | |
PYTHONPATH | %INTEL_OPENVINO_DIR%\\python\python3.8 | Check your Python* version and Adjust entries |
ROOT | %INTEL_OPENVINO_DIR% | |
SCRIPT_NAME | setupvars.bat | |
TBB_DIR | %INTEL_OPENVINO_DIR%\\runtime\3rdparty\tbb\cmake |
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\bin\intel64\Release | |
%INTEL_OPENVINO_DIR%\\runtime\bin\intel64\Debug | |
%INTEL_OPENVINO_DIR%\\runtime\3rdparty\hddl\bin | |
%INTEL_OPENVINO_DIR%\\tools\compile_tool | |
%INTEL_OPENVINO_DIR%\\extras\opencv\\bin | Optional, only if OpenCV* is installed as per Download Additional Components. Adjust entry for custom OpenCV build. |
Note | This applies to 2022.1 release of OpenVINO™ toolkit. A system reboot may be required for the changes to take effect. |