diff --git a/.readthedocs.yaml b/.readthedocs.yaml
index 373ef55f024e09b8a3e0e8ba6382a6cf9c0cd62e..8252713d1f955f1530d3c359240ca8d6f90d21a2 100644
--- a/.readthedocs.yaml
+++ b/.readthedocs.yaml
@@ -6,13 +6,10 @@ build:
   tools:
     python: "3.10"
   jobs:
-    post_create_environment:
-      # Install poetry
-      - curl -sSL https://install.python-poetry.org | python -
-      # Tell poetry to not use a virtual environment
-      - $HOME/.poetry/bin/poetry config virtualenvs.create false
-      # Install project's dependencies
-      - $HOME/.poetry/bin/poetry install
+    post_install:
+      - pip install poetry
+      - poetry config virtualenvs.create false
+      - poetry install
 
 sphinx:
   configuration: docs/conf.py