Install OpenVINO™ Runtime from Conda Forge¶
Installing OpenVINO Runtime from Conda Forge is recommended for C++ developers, as it provides only the C++ Runtime API. If you work with Python, consider installing OpenVINO from PyPI
There are many ways to work with Conda. Before you proceed, learn more about it on the Anaconda distribution page
Installing OpenVINO Runtime with Anaconda Package Manager¶
Set up the Anaconda environment (Python 3.10 used as an example):
conda create --name py310 python=3.10
conda activate py310
Update it to the latest version:
conda update --all
Install the OpenVINO Runtime package:
conda install -c conda-forge openvino=2023.0.2
Congratulations! You have finished installing OpenVINO Runtime.
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. To do so, run the following command in your Conda environment:
conda install cmake c-compiler cxx-compiler make
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.
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=2023.0.2
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.
Visit the Samples page for other C++ example applications to get you started with OpenVINO, such as: