-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Poetry fails to install tensorflow@2.10.0
on linux aarch64.
#7040
Comments
tensorflow declares no such dependency:
|
Additionally, are you sure that you're inspecting the correct environment (that is to say, the virtual environment at |
@neersighted yep, I'm in the correct virtual environment. It definitely doesn't install correctly. @dimbleby Okay thanks. The correct dependencies are declared in |
@dimbleby After some digging, I think this probably relates to this open-issue. The problem is that different builds of the same package release can have different dependencies. In this case, the linux aarch64 build of |
Yes, that is correct. Platform markers should be used, instead of differing metadata, for Poetry support. Poetry does not support packages that split metadata across wheel tags, and neither does the PyPI API. |
Hit the same issue today. My use-case: I was personally building a Docker image using a python alpine docker image. When I switched to a Debian based one (bullseye), the installation went smoothly. |
looks as though tensorflow is just an empty package that pulls in ie something like tensorflow = { version = "whatever", markers = "markers that exclude linux aarch64" }
tensorflow-cpu-aws = { version = "whatever", markers = "markers that include linux aarch64" } |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
python:3.8-slim
docker image)-vvv
option) and have included the output below.Issue
Poetry is silently failing on the install of tensorflow@2.10.0 on linux aarch64. Here is the output of
poetry add tensorflow@2.10.0 -vvv
.As shown below,
tensorflow
is not found:Further investigation reveals that poetry has failed to install the dependency
tensorflow-cpu-aws
. The install works properly when done viapip install tensorflow
.The text was updated successfully, but these errors were encountered: