Install OpenVINO™ Runtime from Conda Forge#

Note

Note that the Conda Forge distribution:

  • offers both C/C++ and Python APIs

  • does not offer support for NPU inference

  • is dedicated to users of all major OSes: Windows, Linux, and macOS (all x86_64 / arm64 architectures)

Full requirement listing is available in:
To see if your processor includes the integrated graphics technology and supports iGPU inference, refer to:
There are many ways to work with Conda. Before you proceed, learn more about it on the

Installing OpenVINO Runtime with Anaconda Package Manager#

  1. Set up the Anaconda environment (Python 3.10 used as an example):

    conda create --name py310 python=3.10
    
    conda activate py310
    
  2. Update it to the latest version:

    conda update --all
    
  3. Install the OpenVINO Runtime package:

    conda install -c conda-forge openvino=2024.1.0
    

Congratulations! You’ve just Installed OpenVINO! For some use cases you may still need to install additional components. Check the description below, as well as the list of additional configurations to see if your case needs any of them.

Compiling with OpenVINO Runtime from Conda-Forge on Linux#

When linking OpenVINO libraries from Conda on Linux, ensure that you have the necessary Conda compilers installed and Conda standard libraries are used. To do so, run the following command in your Conda environment:

conda install cmake c-compiler cxx-compiler make
conda env config vars set LD_LIBRARY_PATH=$CONDA_PREFIX/lib:$LD_LIBRARY_PATH

It is crucial to reactivate your Conda environment after installing the compilers. This step ensures that all the environment variables are set correctly for successful linkage.

To reactivate your Conda environment, execute the following command:

conda activate py310

Once you have reactivated your Conda environment, make sure that all the necessary environment variables are properly set and proceed with linking the OpenVINO libraries.

Enabling GPU device for inference#

To use a GPU device for OpenVINO inference on Linux, you must install OpenCL ICD:

conda install ocl-icd-system

This step is not required on Windows, as Intel® Graphics Compute Runtime for OpenCL™ Driver is included with the Intel® Graphics Driver package.

Uninstalling OpenVINO™ Runtime#

Once OpenVINO Runtime is installed via Conda, you can remove it using the following command, with the proper OpenVINO version number:

conda remove openvino=2024.1.0

What’s Next?#

Now that you’ve installed OpenVINO Runtime, you are ready to run your own machine learning applications! To learn more about how to integrate a model in OpenVINO applications, try out some tutorials and sample applications.

Try the C++ Quick Start Example for step-by-step instructions on building and running a basic image classification C++ application.

https://user-images.githubusercontent.com/36741649/127170593-86976dc3-e5e4-40be-b0a6-206379cd7df5.jpg

Visit the Samples page for other C++ example applications to get you started with OpenVINO, such as: