From 3495a7ddf6491cfc9d631519249164f36d3a4773 Mon Sep 17 00:00:00 2001
From: Wouter Deconinck <wdconinc@gmail.com>
Date: Fri, 17 Jun 2022 16:01:29 +0000
Subject: [PATCH] Use `python3 -m pip` instead of direct `pip`

---
 benchmarks/imaging_shower_ML/config.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/benchmarks/imaging_shower_ML/config.yml b/benchmarks/imaging_shower_ML/config.yml
index bb75e6a2..9e231463 100644
--- a/benchmarks/imaging_shower_ML/config.yml
+++ b/benchmarks/imaging_shower_ML/config.yml
@@ -37,7 +37,7 @@ ml_shower:training_100:
   stage: process
   needs: ["ml_shower:tagging_epimuphka_100"]#, "ml_shower:tagging_e", "ml_shower:tagging_pi"]
   script:
-    - pip install tensorflow particle
+    - python3 -m pip install tensorflow particle
     - python3 benchmarks/imaging_shower_ML/scripts/ml_training.py -t imcal_epimuphka_100 --pmin 0.5 --pmax 10
 
 ml_shower:training:
@@ -46,7 +46,7 @@ ml_shower:training:
   when: manual
   needs: ["ml_shower:tagging_epimuphka"]#, "ml_shower:tagging_e", "ml_shower:tagging_pi"]
   script:
-    - pip install tensorflow particle
+    - python3 -m pip install tensorflow particle
     - python3 benchmarks/imaging_shower_ML/scripts/ml_training.py -t imcal_epimuphka --pmin 0.5 --pmax 10
 
 ml_shower:test:
-- 
GitLab