diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 1d93897dce7340f2c2478c0d0e15b3b6f052888b..10c94552251a7ec4b5a603036c25cdde90fe836d 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -5,10 +5,10 @@ build-dois-csv:
     - apk update
     - apk add python3 git
   script:
-    - pip install pandas
-    - pip install requests
-    - pip install matplotlib
-    - python run-all-codes.py
+    - python3 -m "pip install pandas"
+    - python3 -m "pip install requests"
+    - python3 -m "pip install matplotlib"
+    - python3 run-all-codes.py
   after_script:
     - git config user.name "${GITLAB_USER_NAME}"
     - git config user.email "${GITLAB_USER_EMAIL}"