Skip to content

ERROR: Could not find a version that satisfies the requirement vtk>=9.1.0, No matching distribution found for vtk>=9.1.0 on Docker  #52

Open

Description

@DieuMerciKIMPOLO

I'm installing Trame and VTK on a docker image, but I get the following error:

`------
=> ERROR [5/5] RUN pip install -r /tmp/requirements.txt && rm -rf /tmp && adduser --disabled-password 4.1s

[5/5] RUN pip install -r /tmp/requirements.txt && rm -rf /tmp && adduser --disabled-password --no-create-home trame-user:
#9 3.557 ERROR: Could not find a version that satisfies the requirement vtk>=9.1.0
#9 3.558 ERROR: No matching distribution found for vtk>=9.1.0
#9 3.905 WARNING: You are using pip version 20.3.1; however, version 23.0.1 is available.
#9 3.905 You should consider upgrading via the '/usr/local/bin/python -m pip install --upgrade pip' command.`

the content of my requirements.txt file is:

trame>=2.0.0 vtk>=9.1.0

the content of my Dockerfile is:
`
FROM python:3.9.0-alpine3.12
ENV PYTHONUNBUFFERED 1

COPY ./requirements.txt /tmp/requirements.txt
COPY ./app /app
WORKDIR /app
EXPOSE 8000

RUN pip install -r /tmp/requirements.txt &&
rm -rf /tmp &&
adduser
--disabled-password
--no-create-home
trame-user
ENV PATH="/py/bin:$PATH"
USER trame-user
`
I get the same error when trying to install it(requirements) on a python virtual environment

Can anyone help?
Thank you.

Activity

  1. jmichalicek commented on Jan 26, 2024

    @jmichalicek

    What platform are you running docker on? If you are on mac silicon, then that will do it. I'm doing battle with that currently. If that is the case you can specify to to use a linux/amd64 image and then vtk will install.

  2. jcfr commented on Jan 28, 2024

    @jcfr
    Collaborator

    Thanks for suggestion a solution 🙏 To increase the visibility, I suggest you follow-up at https://github.com/Kitware/trame/discussions

    In the next few days, I will update the README of this project indicating it is retired.

    Indeed, vtk wheels are now officially built and distributed directly from https://gitlab.kitware.com/vtk/vtk/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions