First of all, it is recommended to use Douban to download the source
https://pypi.doubanio.com/simple
First follow the official website address (here, for example, the download supports tensorflow, onnx, in fact, it is recommended to add pytorch)
python -m venv openvino_env
openvino_env\Scripts\activate
# 其中升级pip就不说了
pip install openvino-dev[ONNX,tensorflow2]==2022.2.0
Then click the picture below
python -m venv openvino_env
openvino_env\Scripts\activate
But if you use this paragraph (add -i later, I won’t say it), the import package may still report an error after the installation is complete.
pip install openvino==2022.2.0 #******
Check with the following code
python -c "from openvino.runtime import Core"
If you use a piece of code with *, it is easy to appear
If an error is reported, the piece of code with * above uses
pip install openvino
Then test again, the installation is successful
Reference article: