You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Poetry is incapable of finding a package from a custom source. The package is also part of pypi, but not for arm64 architectures, so I need to add a custom source to search for it, but it doesn't try to look for it there. This results on poetry add tensorflow==1.15.5 failing on arm64 architectures.
I have added a custom source where this is available (and it works if you do pip install tensorflow==1.15.5 -f https://tf.kmtea.eu/whl/stable.html) but poetry never looks in that source for the package, so the build fails with:
Unabletofindinstallationcandidatesfortensorflow (1.15.5)
at~/.poetry/lib/poetry/installation/chooser.py:74inchoose_for70│ links.append(link)
71│
72│ ifnotlinks:
73│ raiseRuntimeError(
→ 74│ "Unable to find installation candidates for {}".format(package)
75│ )
76│
77│ # Get the best link78│ chosen=max(links, key=lambdalink: self._sort_key(package, link))
I'm assuming this is still an issue? It basically prevents the usage of poetry for projects which support multiple arches but don't want to compile packages which can be found compiled in another repository (example scipy or numpy for armv7).
-vvv
option).Issue
Poetry is incapable of finding a package from a custom source. The package is also part of
pypi
, but not for arm64 architectures, so I need to add a custom source to search for it, but it doesn't try to look for it there. This results onpoetry add tensorflow==1.15.5
failing on arm64 architectures.I have added a custom source where this is available (and it works if you do
pip install tensorflow==1.15.5 -f https://tf.kmtea.eu/whl/stable.html
) but poetry never looks in that source for the package, so the build fails with:I have also tried with:
but it doesn't work either.
Any tips? Thanks!
The text was updated successfully, but these errors were encountered: