Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

ERROR: No matching distribution found for poetry==1.5.1

未关闭
#121 5 条评论 3 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
48/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
冷清
技术栈
python
领域
tooling

调研方向

首先,使用 Python 3.6 重现官方安装程序命令,并将其与 issue 中描述的可正常工作的 Python 3.9 命令进行比较。跟踪安装程序如何选择 Poetry 1.5.1,并确定不受支持的 Python 版本应在哪个位置产生明确的错误。当旧解释器不再因误导性的 distribution 错误而失败时,即视为完成。

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

描述

I had an issue installing on both Rocky Linux 8.7 and Ubuntu 20.04 LTS. Where the Official installer was failing to select a version that was available in the repo, and was just blindly trying to install v1.5.1. The solution was to specify a newer version of pythoon

Official instructions state the command to install is
curl -sSL https://install.python-poetry.org | python3 -

But this was resulting in Python 3.6 being used, which apparently is no longer supported. I had 3.9 installed on the systems.
The installer should really run a check to see if the python version it is using is too old and not supported and give an appropriate error. Alternatively, it could select the most up to date version that is available on that repo. Either way, it shouldn't fail with this error.

curl -sSL https://install.python-poetry.org | python3.9 - worked, but I wasted a fair bit of time working out why it was failing.

主要语言
Python
星标
255
派生
65
平均合并
2 小时 48 分钟
30 天内合并 PR
1

贡献指南

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

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

python-poetry/install.python-poetry.org 的其他 Issue

查看 python-poetry/install.python-poetry.org 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

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