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 件 担当者 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 を短くまとめたダイジェスト。