From 0558905ce471ea6e48c05d0e9005c516dc6a7936 Mon Sep 17 00:00:00 2001 From: Guytri KASTANE Date: Thu, 24 Oct 2024 16:41:02 +0200 Subject: [PATCH] fix sklearn 1.2.2 installation on embedded salome --- products/compil_scripts/openturns-1.22.sh | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/products/compil_scripts/openturns-1.22.sh b/products/compil_scripts/openturns-1.22.sh index 16542e6..d31631a 100755 --- a/products/compil_scripts/openturns-1.22.sh +++ b/products/compil_scripts/openturns-1.22.sh @@ -461,11 +461,7 @@ if [[ -d "$SOURCE_DIR/otfftw-0.14" ]]; then fi elif [ "${PYTHON_VERSION}" == "3.9" ]; then echo "INFO: install scikit-learn-1.2.2" - if [ -n "$SAT_HPC" ] && [ -n "$MPI_ROOT_DIR" ]; then - ${PYTHONBIN} -m pip install --cache-dir=$BUILD_DIR/cache/pip $SOURCE_DIR/scikit-learn-1.2.2/scikit_learn-1.2.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl --no-deps - else - ${PYTHONBIN} -m pip install --cache-dir=$BUILD_DIR/cache/pip $SOURCE_DIR/scikit-learn-1.2.2/scikit-learn-1.2.2.tar.gz --no-deps - fi + ${PYTHONBIN} -m pip install --cache-dir=$BUILD_DIR/cache/pip $SOURCE_DIR/scikit-learn-1.2.2/scikit_learn-1.2.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl --no-deps if [ $? -ne 0 ] then echo "FATAL: could not install scikit-1.2.2" -- 2.39.2