From 570714c0b0c5b08bcef6e35efbbdcd3532305218 Mon Sep 17 00:00:00 2001 From: Nabil Ghodbane Date: Fri, 19 Apr 2024 10:23:41 +0200 Subject: [PATCH] bos #41189 - openturns 1.21 --- products/compil_scripts/openturns-1.21.bat | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/products/compil_scripts/openturns-1.21.bat b/products/compil_scripts/openturns-1.21.bat index e842974..b030b44 100644 --- a/products/compil_scripts/openturns-1.21.bat +++ b/products/compil_scripts/openturns-1.21.bat @@ -266,7 +266,14 @@ if NOT %ERRORLEVEL% == 0 ( 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 -- 2.39.2