Install OpenVINO™ Runtime on Windows from an Archive File¶
With the OpenVINO™ 2022.2 release, you can download and use archive files to install OpenVINO Runtime. The archive files contain pre-built binaries and library files needed for OpenVINO Runtime, as well as code samples.
Installing OpenVINO Runtime from archive files is recommended for C++ developers. If you are working with Python, the PyPI package has everything needed for Python development and deployment on CPU and GPUs. See the Install OpenVINO from PyPI page for instructions on how to install OpenVINO Runtime for Python using PyPI.
Since the OpenVINO™ 2022.1 release, the following development tools: Model Optimizer, Post-Training Optimization Tool, Model Downloader and other Open Model Zoo tools, Accuracy Checker, and Annotation Converter can be installed via pypi.org only.
See the Release Notes for more information on updates in the latest release.
Microsoft Windows 10, x86, 64-bit
Microsoft Windows 11, x86, 64-bit
Optimized for these processors:
6th to 12th generation Intel® Core™ processors and Intel® Xeon® processors
3rd generation Intel® Xeon® Scalable processor (formerly code named Cooper Lake)
Intel® Xeon® Scalable processor (formerly Skylake and Cascade Lake)
Intel Atom® processor with support for Intel® Streaming SIMD Extensions 4.1 (Intel® SSE4.1)
Intel Pentium® processor N4200/5, N3350/5, or N3450/5 with Intel® HD Graphics
Intel® Iris® Xe MAX Graphics
Intel® Neural Compute Stick 2
Intel® Vision Accelerator Design with Intel® Movidius™ VPUs
Processor graphics are not included in all processors. See Product Specifications for information about your processor.
Microsoft Visual Studio 2019 with MSBuild or Microsoft Visual Studio 2022
CMake 3.14 or higher, 64-bit (optional, only required for building sample applications)
- Python 3.6 - 3.9, 64-bit
Note that OpenVINO will stop the support for Python 3.6 shortly. You are encouraged to use Python 3.7 - 3.9.
To install Microsoft Visual Studio 2019, follow the Microsoft Visual Studio installation guide. You can choose to download the Community version. During installation in the Workloads tab, choose Desktop development with C++.
You can either use cmake<version>.msi which is the installation wizard or cmake<version>.zip where you have to go into the bin folder and then manually add the path to environmental variables.
When installing Python, make sure you click the option Add Python 3.x to PATH to add Python to your PATH environment variable.
Installing OpenVINO Runtime¶
Step 1: Download and Install OpenVINO Core Components¶
Intelfolder in the
C:\Program Files (x86)\directory. Skip this step if the folder already exists.
You can also do this via command-lines. Open a new command prompt window as administrator by right-clicking Command Prompt from the Start menu and select Run as administrator, and then run the following command:
mkdir "C:\Program Files (x86)\Intel"
C:\Program Files (x86)\Intelis the recommended folder. You may also use a different path if desired or if you don’t have administrator privileges on your computer.
Download the OpenVINO Runtime archive file for Windows to your local
If you prefer using command-lines, run the following commands in the command prompt window you opened:
cd <user_home>/Downloads curl -L https://storage.openvinotoolkit.org/repositories/openvino/packages/2022.2/windows/w_openvino_toolkit_windows_2022.2.0.7713.af16ea1d79a_x86_64.zip --output openvino_2022.2.0.7713.zip
.sha256file is provided together with the archive file to validate your download process. To do that, download the
.sha256file from the same repository and run
CertUtil -hashfile openvino_2022.2.0.7713.zip SHA256. Compare the returned value in the output with what’s in the
.sha256file: if the values are the same, you have downloaded the correct file successfully; if not, create a Support ticket here.
Use your favorite tool to extract the archive file, rename the extracted folder as
openvino_2022.2.0.7713, and move it to the
C:\Program Files (x86)\Inteldirectory.
To do this step using command-lines, run the following commands in the command prompt window you opened:
tar -xf openvino_2022.2.0.7713.zip ren w_openvino_toolkit_windows_2022.2.0.7713.af16ea1d79a_x86_64 openvino_2022.2.0.7713 move openvino_2022.2.0.7713 "C:\Program Files (x86)\Intel"
For simplicity, it is useful to create a symbolic link. Open a command prompt window as administrator (see Step 1 for how to do this) and run the following commands:
cd C:\Program Files (x86)\Intel mklink /D openvino_2022 openvino_2022.2.0.7713
If you have already installed a previous release of OpenVINO 2022, a symbolic link to the
openvino_2022folder may already exist. If you want to override it, nagivate to the
C:\Program Files (x86)\Intelfolder and delete the existing linked folder before running the
Congratulations, you finished the installation! The
C:\Program Files (x86)\Intel\openvino_2022 folder now contains the core components for OpenVINO. If you used a different path in Step 1, you will find the
openvino_2022 folder there. The path to the
openvino_2022 directory is also referred as
<INSTALL_DIR> throughout the OpenVINO documentation.
Step 2: Configure the Environment¶
You must update several environment variables before you can compile and run OpenVINO™ applications. Open the Command Prompt, and run the
setupvars.bat batch file to temporarily set your environment variables. If your <INSTALL_DIR> is not
C:\Program Files (x86)\Intel\openvino_2022, use the correct directory instead.
"C:\Program Files (x86)\Intel\openvino_2022\setupvars.bat"
Important : The above command must be re-run every time a new Command Prompt window is opened.
If you see an error indicating Python is not installed, Python may not be added to the PATH environment variable (as described here). Check your system environment variables, and add Python if necessary.
The environment variables are set. Continue to the next section if you want to download any additional components.
Step 3 (Optional): Install Additional Components¶
OpenVINO Development Tools is a set of utilities for working with OpenVINO and OpenVINO models. It provides tools like Model Optimizer, Benchmark Tool, Post-Training Optimization Tool, and Open Model Zoo Downloader. If you install OpenVINO Runtime using archive files, OpenVINO Development Tools must be installed separately.
See the Install OpenVINO Development Tools page for step-by-step installation instructions.
OpenCV is necessary to run demos from Open Model Zoo (OMZ). Some OpenVINO samples can also extend their capabilities when compiled with OpenCV as a dependency. To install OpenCV for OpenVINO, see the instructions on GitHub.
Step 4 (Optional): Configure Inference on non-CPU Devices¶
OpenVINO Runtime has a plugin architecture that enables you to run inference on multiple devices without rewriting your code. Supported devices include integrated GPUs, discrete GPUs, NCS2, VPUs, and GNAs. See the instructions below to set up OpenVINO on these devices.
To enable the toolkit components to use processor graphics (GPU) on your system, follow the steps in GPU Setup Guide.
To install and configure your Intel® Vision Accelerator Design with Intel® Movidius™ VPUs, see the VPU Configuration Guide.
No additional configurations are needed.
To enable the toolkit components to use Intel® Gaussian & Neural Accelerator (GNA) on your system, follow the steps in GNA Setup Guide.
Now that you’ve installed OpenVINO Runtime, you’re ready to run your own machine learning applications! Learn more about how to integrate a model in OpenVINO applications by trying out the following tutorials.
Try the Python Quick Start Example to estimate depth in a scene using an OpenVINO monodepth model in a Jupyter Notebook inside your web browser.
Visit the Tutorials page for more Jupyter Notebooks to get you started with OpenVINO, such as:
Try the C++ Quick Start Example for step-by-step instructions on building and running a basic image classification C++ application.
Visit the Samples page for other C++ example applications to get you started with OpenVINO, such as:
Uninstalling OpenVINO Runtime¶
To uninstall OpenVINO, follow the steps on the Uninstalling page.
Troubleshooting Guide for OpenVINO Installation & Configuration <troubleshooting guide for install>
Converting models for use with OpenVINO™: :ref:
Model Optimizer Developer Guide <deep learning model optimizer>
Writing your own OpenVINO™ applications: :ref:
OpenVINO™ Runtime User Guide <deep learning openvino runtime>
Sample applications: :ref:
OpenVINO™ Toolkit Samples Overview <code samples>
Pre-trained deep learning models: :ref:
Overview of OpenVINO™ Toolkit Pre-Trained Models <model zoo>
IoT libraries and code samples in the GitHUB repository:
Intel® IoT Developer Kit_