Allow to build and use OpenVINO with Python 3.12 (#21233)

This commit is contained in:
Ilya Lavrenov 2023-11-22 15:48:09 +04:00 committed by GitHub
parent 08fa27762e
commit 5bab612ecc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -66,7 +66,7 @@ set "PATH=%OPENVINO_LIB_PATHS%;%PATH%"
:: Check if Python is installed
set PYTHON_VERSION_MAJOR=3
set MIN_REQUIRED_PYTHON_VERSION_MINOR=8
set MAX_SUPPORTED_PYTHON_VERSION_MINOR=11
set MAX_SUPPORTED_PYTHON_VERSION_MINOR=12
python --version 2>NUL
if errorlevel 1 (call :python_not_installed) else (call :check_python_version)

View File

@ -101,7 +101,7 @@ fi
PYTHON_VERSION_MAJOR="3"
MIN_REQUIRED_PYTHON_VERSION_MINOR="8"
MAX_SUPPORTED_PYTHON_VERSION_MINOR="11"
MAX_SUPPORTED_PYTHON_VERSION_MINOR="12"
check_python_version () {
if [ -z "$python_version" ]; then