Install Intel® Distribution of OpenVINO™ Toolkit from PyPI Repository¶
You can install both OpenVINO™ Runtime and OpenVINO Development Tools through the PyPI repository. This page provides the main steps for installing OpenVINO Runtime.
Note
From the 2022.1 release, the OpenVINO™ Development Tools can only be installed via PyPI. See Install OpenVINO Development Tools for detailed steps.
Installing OpenVINO Runtime¶
For system requirements and troubleshooting, see https://pypi.org/project/openvino/.
Step 1. Set Up Python Virtual Environment¶
To avoid dependency conflicts, use a virtual environment. Skip this step only if you do want to install all dependencies globally.
Use the following command to create a virtual environment:
python3 -m venv openvino_env
python -m venv openvino_env
Step 2. Activate Virtual Environment¶
source openvino_env/bin/activate
openvino_env\Scripts\activate
Step 3. Set Up and Update PIP to the Highest Version¶
Use the following command:
python -m pip install --upgrade pip
Step 4. Install the Package¶
Use the following command:
pip install openvino
Step 5. Verify that the Package Is Installed¶
Run the command below:
python -c "from openvino.runtime import Core"
If installation was successful, you will not see any error messages (no console output).
Installing OpenVINO Development Tools¶
OpenVINO Development Tools include Model Optimizer, Benchmark Tool, Accuracy Checker, Post-Training Optimization Tool and Open Model Zoo tools including Model Downloader. If you want to install OpenVINO Development Tools, OpenVINO Runtime will also be installed as a dependency, so you don’t need to install OpenVINO Runtime separately.
See Install OpenVINO™ Development Tools for detailed steps.
What’s Next?¶
Now you may continue with the following tasks:
To convert models for use with OpenVINO, see Model Optimizer Developer Guide.
See pre-trained deep learning models in our Open Model Zoo.
Try out OpenVINO via OpenVINO Notebooks.
To write your own OpenVINO™ applications, see OpenVINO Runtime User Guide.
See sample applications in OpenVINO™ Toolkit Samples Overview.
Additional Resources¶
Intel® Distribution of OpenVINO™ toolkit home page: https://software.intel.com/en-us/openvino-toolkit
For IoT Libraries & Code Samples, see Intel® IoT Developer Kit.