setupvars.bat: Fixed names for major and minor python version vars (#2986)
authorArtyom Anokhov <artyom.anokhov@intel.com>
Thu, 5 Nov 2020 11:48:09 +0000 (14:48 +0300)
committerGitHub <noreply@github.com>
Thu, 5 Nov 2020 11:48:09 +0000 (14:48 +0300)
scripts/setupvars/setupvars.bat

index bf70f55..4ba1b0d 100644 (file)
@@ -93,7 +93,7 @@ if not "%bitness%"=="64" (
    exit /B 1
 )
 
-set PYTHONPATH=%INTEL_OPENVINO_DIR%\python\python%Major%.%Minor%;%INTEL_OPENVINO_DIR%\python\python3;%PYTHONPATH%
+set PYTHONPATH=%INTEL_OPENVINO_DIR%\python\python%pyversion_major%.%pyversion_minor%;%INTEL_OPENVINO_DIR%\python\python3;%PYTHONPATH%
 
 if exist %INTEL_OPENVINO_DIR%\deployment_tools\open_model_zoo\tools\accuracy_checker (
     set PYTHONPATH=%INTEL_OPENVINO_DIR%\deployment_tools\open_model_zoo\tools\accuracy_checker;%PYTHONPATH%