diff --git a/Dockerfiles/python/Dockerfile b/Dockerfiles/python/Dockerfile
index a15bba62d7057a02c04cda5cda9859855601dfbd..766c4d5c9c32b36a9a8f34fd08e9bda665abf2d0 100644
--- a/Dockerfiles/python/Dockerfile
+++ b/Dockerfiles/python/Dockerfile
@@ -30,8 +30,8 @@ RUN python3 -m pip install --no-cache-dir --upgrade pip \
 && pip install --no-cache-dir --ignore-installed PyYAML \
 # https://stackoverflow.com/questions/70508775/error-could-not-build-wheels-for-pycairo-which-is-required-to-install-pyprojec
 && pip install --no-cache-dir manimlib \
-&& pip install --no-cache-dir manimce \
-&& pip install rtree  \
+&& pip install --no-cache-dir manimce 
+RUN pip install rtree \
 # pygeos
 # && pip install --upgrade shapely \
 && pip install --no-cache-dir --upgrade -r ./requirements.txt