KitwareMedical / KitwareMedical/VTKPythonPackage

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 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
36
派生
16
PR 合并指标
30 天内没有已合并 PR

描述

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.

贡献指南

这个仓库没有索引到贡献指南

调研方向

Start with the Dockerfile and requirements.txt shown in the issue, then reproduce the pip install failure in the listed Python 3.9 Alpine environment and a virtual environment. Check whether the requested packages have compatible distributions for that platform; done means the documented installation completes successfully or the incompatibility is clearly documented.

由索引模型根据 Issue 内容生成。

评估

技术栈
docker, python
领域
build-system, devops
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。