diff --git a/.gitlab/ci/static_analysis.gitlab-ci.yml b/.gitlab/ci/static_analysis.gitlab-ci.yml
index 92f08c1e8973ee9116524fd75379209aef0c002b..a7b26c4f78fcc33ea2692b00bab1cf9899a104f9 100644
--- a/.gitlab/ci/static_analysis.gitlab-ci.yml
+++ b/.gitlab/ci/static_analysis.gitlab-ci.yml
@@ -6,6 +6,7 @@ static_analysis:cpp:
   script:
     - mkdir -p $CI_COMMIT_REF_NAME
     - cppcheck -j 4 --enable=all --inconclusive --force --xml --xml-version=2 . 2> cppcheck-result.xml
+    - python3 -m pip install Pygments
     - cppcheck-htmlreport --file=cppcheck-result.xml --report-dir=$CI_COMMIT_REF_NAME --source-dir=.
     - python3 -m pip install -U cppcheck_codequality
     - cppcheck-codequality --input-file=cppcheck-result.xml --output-file=cppcheck.json