From 3453f869e031b14739c2ea3e2d4174542958748c Mon Sep 17 00:00:00 2001 From: Alexandru Mahmoud Date: Thu, 19 Dec 2024 12:42:06 -0500 Subject: [PATCH] Add `||` for backwards compatibility for pip's `--break-system-packages` --- bioc_scripts/install_bioc_sysdeps.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bioc_scripts/install_bioc_sysdeps.sh b/bioc_scripts/install_bioc_sysdeps.sh index 003bc6c..6ee999e 100644 --- a/bioc_scripts/install_bioc_sysdeps.sh +++ b/bioc_scripts/install_bioc_sysdeps.sh @@ -135,7 +135,7 @@ apt-get -y --no-install-recommends install \ ocl-icd-opencl-dev ## Python installations -pip3 install scikit-learn pandas pyyaml --break-system-packages +pip3 install scikit-learn pandas pyyaml --break-system-packages || pip3 install scikit-learn pandas pyyaml ## libgdal is needed for sf apt-get install -y --no-install-recommends \