* docs: Rewrite What's Next section on PyPI page * docs: fix link to Python example * docs: add link to additional configurations page * Update docs/install_guides/installing-openvino-pip.md Co-authored-by: Karol Blaszczak <karol.blaszczak@intel.com> * Update docs/install_guides/installing-openvino-pip.md Co-authored-by: Karol Blaszczak <karol.blaszczak@intel.com> * docs: remove Whats Next link * docs: fix what's next link * Update docs/install_guides/installing-openvino-pip.md * Update docs/install_guides/installing-openvino-pip.md Co-authored-by: Karol Blaszczak <karol.blaszczak@intel.com> Co-authored-by: Yuan Xu <yuan1.xu@intel.com>
4.2 KiB
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
Use a virtual environment to avoid dependency conflicts.
To create a virtual environment, use the following command:
@sphinxdirective
.. tab:: Linux and macOS
.. code-block:: sh
python3 -m venv openvino_env
.. tab:: Windows
.. code-block:: sh
python -m venv openvino_env
@endsphinxdirective
Step 2. Activate Virtual Environment
@sphinxdirective
.. tab:: On Linux and macOS
.. code-block:: sh
source openvino_env/bin/activate
.. tab:: On Windows
.. code-block:: sh
openvino_env\Scripts\activate
@endsphinxdirective
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).
Congratulations! You finished installing OpenVINO Runtime. Now you can start exploring OpenVINO's functionality through Jupyter Notebooks and sample applications. See the What's Next section to learn more!
Installing OpenVINO Development Tools
OpenVINO Development Tools adds even more functionality to OpenVINO. It provides tools like Model Optimizer, Benchmark Tool, Post-Training Optimization Tool, and Open Model Zoo Downloader. If you install OpenVINO Development Tools, OpenVINO Runtime will also be installed as a dependency, so you don't need to install OpenVINO Runtime separately.
See the Install OpenVINO Development Tools page for step-by-step installation instructions.
What's Next?
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.
Get started with Python
Visit the Tutorials page for more Jupyter Notebooks to get you started with OpenVINO, such as:
- OpenVINO Python API Tutorial
- Basic image classification program with Hello Image Classification
- Convert a PyTorch model and use it for image background removal
Run OpenVINO on accelerated 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. Visit the Additional Configurations page for instructions on how to configure your hardware devices to work with OpenVINO.
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.