[英]"Unable to find installation candidates" in poetry trying to install `genicam` - how to debug?
I have just installed poetry on a windows 10 machine using the new install-poetry.py
script.我刚刚使用新的
install-poetry.py
脚本在 Windows 10 机器上安装了诗歌。 I have just converted my python application dependency management to pyproject.toml
with poetry
.我刚刚将我的 python 应用程序依赖管理转换为
pyproject.toml
with poetry
。 It works for most of my dependencies, but fails for the genicam package, with the above Unable to find installation candidates
error message.它适用于我的大部分依赖项,但对genicam包失败,并显示上述
Unable to find installation candidates
错误消息。 Installing that package with pip
does work.使用
pip
安装该软件包确实有效。 How do I debug such issues?我该如何调试此类问题? I tried running
poetry install -vvv
, but all I get is the same stack-trace of poetry's internals in verbose form, nothing useful added to the output of the short-form (in particular no indexes or urls it tried and failed):我尝试运行
poetry install -vvv
,但我得到的只是诗歌内部结构的详细堆栈跟踪,没有任何有用的添加到短格式的输出中(特别是没有尝试但失败的索引或 url):
Package operations: 1 install, 0 updates, 0 removals
• Installing genicam (1.1.0)
RuntimeError
Unable to find installation candidates for genicam (1.1.0)
at ~\AppData\Roaming\pypoetry\venv\lib\site-packages\poetry\installation\chooser.py:72 in choose_for
68│
69│ links.append(link)
70│
71│ if not links:
→ 72│ raise RuntimeError(
73│ "Unable to find installation candidates for {}".format(package)
74│ )
75│
76│ # Get the best link
I'm using poetry version 1.1.13 on python 3.8.10 on windows 10 (python 3.8 is the latest supported by genicam
- it's a closed source package managed by the GenICam consortium, and they have a ridiculous release process; somehow they need a committee voting before they can release a new package - end rant).我在 windows 10 上的 python 3.8.10 上使用诗歌版本 1.1.13(python 3.8 是
genicam
支持的最新版本——它是一个由 GenICam 联盟管理的封闭源代码包,他们有一个荒谬的发布过程;不知何故他们需要一个委员会在发布新软件包之前进行投票 - 结束咆哮)。
Had a dependency to a repository using an authentication token which were expired.使用过期的身份验证令牌依赖于存储库。 Updating auth credentials fixed this.
更新身份验证凭据解决了这个问题。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.