exit 3
)
-%PYTHON_ROOT_DIR%\python.exe -m pip install --cache-dir=%BUILD_DIR%\cache\pip --prefix=%PRODUCT_INSTALL% scikit-learn-0.24.2.tar.gz --no-deps --no-use-pep517
+if %PYTHON_VERSION% == 3.6 (
+ %PYTHON_ROOT_DIR%\python.exe -m pip install --cache-dir=%BUILD_DIR%\cache\pip --prefix=%PRODUCT_INSTALL% scikit-learn-0.24.2.tar.gz --no-deps --no-use-pep517
+) else (
+ tar zxf scikit-learn-0.24.2.tar.gz
+ cd scikit-learn-0.24.2
+ %PYTHON_ROOT_DIR%\python.exe setup.py install --prefix=%PRODUCT_INSTALL%
+)
+
if NOT %ERRORLEVEL% == 0 (
echo ERROR on python setup.py
exit 3