diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 7af0ea98431bf3cc66781dc66176fce4bb37eba2..6b126852797690eb22ec07401c920257e99173ec 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -27,7 +27,7 @@ before_script:
   - cp $SETTINGS_XML ../$SETTINGS_XML
   - cd ..
   - rm -rf $COMMON_CONFIG_LOCAL
-  - apt-get update -y && apt-get install -y python3
+  - apt-get update -y && apt-get install -y python
   - 'python build_pom_with_models.py'
 
 build: