From 5794472d347d8fec9ef89c3c29a01168cc6336c1 Mon Sep 17 00:00:00 2001 From: Nour Yosri Date: Fri, 22 Sep 2023 12:35:05 -0700 Subject: [PATCH] Docker Debug line --- pybind_interface/Dockerfile | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/pybind_interface/Dockerfile b/pybind_interface/Dockerfile index 3fa175e2..c51563de 100644 --- a/pybind_interface/Dockerfile +++ b/pybind_interface/Dockerfile @@ -4,12 +4,9 @@ FROM qsim # Install additional requirements RUN apt-get install -y python3-dev python3-pybind11 python3-pytest python3-pip -# Install cirq-core -RUN pip3 install --prefer-binary cirq-core -RUN pip3 uinstall numpy --purge - -# Install pybind11 -RUN apt-get install -y python3-pybind11 +# The --force-reinstall flag is used mainly so that the old numpy installation from pybind +# gets replaced with the one cirq requires +RUN pip3 install --break-system-packages --prefer-binary cirq-core --force-reinstall # Copy relevant files COPY ./pybind_interface/ /qsim/pybind_interface/