ERROR: No matching distribution found for poetry==1.5.1
还没有人认领这个 Issue。
评估
调研方向
首先,使用 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
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
python-poetry/install.python-poetry.org 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 65/100
python-poetry/install.python-poetry.org#144 · 8 条评论 · 2 个 reaction ·
-
难度 3/5 1-2 天 新手友好度 42/100
python-poetry/install.python-poetry.org#177 · 1 条评论 ·
-
难度 4/5 3-5 天 新手友好度 42/100
-
难度 4/5 3-5 天 新手友好度 35/100
-
难度 4/5 3-5 天 新手友好度 35/100
查看 python-poetry/install.python-poetry.org 的全部 Issue
相似的 Issue
-
bug confirmed issue
难度 2/5 1-3 小时 新手友好度 75/100
open-webui/open-webui#30750 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
-
enhancement
难度 2/5 1-3 小时 新手友好度 75/100
OpenwaterHealth/openmotion-bloodflow-app#604 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 70/100
-
good first issue
难度 1/5 1 小时以内 新手友好度 90/100