Pyvista not available with docker due to lack of vtk

I have added a wheel for vtk-9.2.6.dev0-cp310 here: Release vtk-9.2.6.dev0-cp310-cp310-linux_aarch64 · finsberg/vtk-aarch64 · GitHub

So a possible workaround is as follows (assuming you are using python3.10)

RUN dpkgArch="$(dpkg --print-architecture)"; \
    case "$dpkgArch" in arm64) \
    python3 -m pip install "https://github.com/finsberg/vtk-aarch64/releases/download/vtk-9.2.6-cp310/vtk-9.2.6.dev0-cp310-cp310-linux_aarch64.whl" ;; \
    esac;
RUN python3 -m pip install pyvista
3 Likes