@@ -63,7 +63,7 @@ def kernel_check():
63
63
64
64
IN_OPENVINO_ENV = "openvino_env" in sys .executable
65
65
SUPPORTED_PYTHON_VERSION = PYTHON_VERSION .major == 3 and (
66
- PYTHON_VERSION .minor >= 6 and PYTHON_VERSION .minor <= 9
66
+ PYTHON_VERSION .minor >= 8 and PYTHON_VERSION .minor <= 11
67
67
)
68
68
GLOBAL_OPENVINO_INSTALLED = "openvino_202" in os .environ .get (
69
69
"LD_LIBRARY_PATH" , ""
@@ -90,12 +90,9 @@ def kernel_check():
90
90
91
91
DEVTOOLS_INSTALLED = True
92
92
try :
93
- import mo_onnx # OpenVINO 2021.4
93
+ from openvino . tools . mo import mo # OpenVINO 2022.1
94
94
except ImportError :
95
- try :
96
- from openvino .tools .mo import mo # OpenVINO 2022.1
97
- except ImportError :
98
- DEVTOOLS_INSTALLED = False
95
+ DEVTOOLS_INSTALLED = False
99
96
100
97
101
98
print ("System information:" )
@@ -141,10 +138,6 @@ def kernel_check():
141
138
)
142
139
if OS == "linux" :
143
140
print (
144
- "If you use Python 3.7 on Ubuntu/Debian Linux, you can install the Python\n "
145
- "libraries with `apt install libpython3.7-dev` (you may need to use `sudo`).\n "
146
- "On Ubuntu 20, libraries for Python 3.6 and 3.7 are not available to install\n "
147
- "with apt by default and it is recommended to use Python 3.8.\n "
148
141
"If you have multiple Python version installed, use the full path to the Python\n "
149
142
"executable for creating the virtual environment with a specific Python version.\n "
150
143
"For example: `/usr/bin/python3.8 -m venv openvino_env`. Once you have activated\n "
0 commit comments