openvino python environment

Official document
version: 2021.2 The
official default is python 3.6.9
Linux supports python3.6 and python3.7
windows supports python3.6, 3.7 and 3.8

python3.7 -m pip install --upgrade pip
python3.7 -m pip install openvino

Setting up the environment:

export LD_LIBRARY_PATH=$LD_LIBARARY_PATH:/usr/bin/
export LD_LIBRARY_PATH=$LD_LIBARARY_PATH:/usr/local/lib

Python 3.7.5 (default, Nov  7 2019, 10:50:52)
[GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import openvino
>>> from openvino.inference_engine import IECore
_frozen_importlib:219: RuntimeWarning: compiletime version 3.6 of module 'openvino.inference_engine.ie_api' does not match runtime version 3.7
_frozen_importlib:219: RuntimeWarning: compiletime version 3.6 of module 'openvino.inference_engine.constants' does not match runtime version 3.7
>>> from openvino.inference_engine import IECore
>>>

Guess you like

Origin blog.csdn.net/weixin_40437821/article/details/113741469