diff --git a/bob/devtools/scripts/ci.py b/bob/devtools/scripts/ci.py
index ab7fd92085ab3d33502a0a201246fad0155d28ae..ca22a5b83d09446d4797671e5012bfb4ecc8e25a 100644
--- a/bob/devtools/scripts/ci.py
+++ b/bob/devtools/scripts/ci.py
@@ -1019,10 +1019,10 @@ def check(root):
     if os.path.isfile(path):
         from ..bootstrap import run_cmdline
 
-        run_cmdline(["pip", "install", "--user", "--upgrade", "pre-commit"])
+        run_cmdline(["python", "-m", "pip", "install", "pre-commit"])
         try:
             backup = os.environ.get("SKIP", "")
             os.environ["SKIP"] = "sphinx-build,sphinx-doctest"
-            run_cmdline(["pre-commit", "run", "--all-files"])
+            run_cmdline(["python", "-m", "pre_commit", "run", "--all-files"])
         finally:
             os.environ["SKIP"] = backup
diff --git a/conda/meta.yaml b/conda/meta.yaml
index 09a2ed1e4ee58e08dcf4fff1f93aef83d022e198..8d3b99cdd23e41934cc876e187df38e211df072c 100644
--- a/conda/meta.yaml
+++ b/conda/meta.yaml
@@ -51,6 +51,7 @@ requirements:
     - psutil
     - tabulate
     - python-graphviz
+    - pip
 
 test:
   requires: