diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index a8de3d421ba4d691d219ab388cb433c41a81869a..968da93d4384ecc65a1fe424f7adeb15afd95b54 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -24,7 +24,7 @@ build:
     <<: *global_tag_def
     stage: build
     before_script:
-        - pip3 install scipy==1.11.3 --user
+        - python3 -m pip install scipy==1.11.3 --user
     script:
         - git submodule init
         - git submodule update